ZTree.com  | ZEN  | About...  

 Index   Back

[Discuss] File size vs size on disk   [Discuss]

By: Ben Kent       
Date: Jan 12,2015 at 18:45
In Response to: [Discuss] File size vs size on disk (Laurent Duchastel)

> > If the total size or a fully downloaded flag in available in the ADS
> > data, then someone could write a ZAAP to tag files that are partially
> > downloaded.
>
> Actually, I have to rectify my previous statement as I just checked
> something on my device. ADS are there only when files are totally
> offline. When they are half-downloaded or online-only, there is no ADS.
> There is however a 4K cluster for every online-only files, from which, I
> presume Metadata is extracted to build catalog.
>

Then try this, which should allow you to tag files with streams.

REM mac2unix.exe and unix2dos.exe from http://waterlan.home.xs4all.nl/dos2unix.html
REM streams.exe from http://technet.microsoft.com/en-gb/sysinternals/bb842062.aspx

REM streams.exe does some odd line endings, so fix up and find the lines ending in :
streams.exe "%MediaDir%\*.mp3" | mac2unix.exe | unix2dos.exe | findstr /e ":" >%temp%\~streams.tmp

REM Then build a Ctrl-ZList file
REM assumes %MediaDir% is a drive letter, if its a UNC, then change to tokens=1 and T=%1
Del %temp%\streams.ZLS
for /f "tokens=1,2 delims=:" %I in (%temp%\~streams.tmp) do echo T=%I:%J >>%temp%\streams.ZLS


Then with a bit of Ctrl-Invert, Tags
and Filespec, >s4098
should get the half-downloaded downloaded files tagged.

490 views      
Thread locked
 

Messages in this Thread

 
94,426 Postings in 11,918 Threads, 348 registered users, 9 users online (0 registered, 9 guests)
Index | Admin contact |   Forum Time: Sep 17, 2019 - 8:14 am EDT  |  Hits:28,644,609  (609 Today )
RSS Feed