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.

Thread locked

Messages in this Thread

94,751 Postings in 11,947 Threads, 348 registered users, 8 users online (0 registered, 8 guests)
Index | Admin contact |   Forum Time: Feb 25, 2020 - 6:53 pm EST  |  Hits:30,128,118  (7,726 Today )
RSS Feed