ZTree.com  | ZEN  | About...  

 Index   Back

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

By: Ben Kent       
Date: Jan 12,2015 at 23: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.

1,120 views      
Thread locked
 

Messages in this Thread

 
96,637 Postings in 12,231 Threads, 350 registered users, 69 users online (0 registered, 69 guests)
Index | Admin contact |   Forum Time: Mar 28, 2024 - 10:26 pm UTC  |  Hits:62,382,327  (34,724 Today )
RSS Feed