You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i want to download large torrents with many files in sequential order
and process the content files in their original order in the torrent
which is some random sort order, not abc order
currently ls -U returns files in abc order, not in the original order
i want to download large torrents with many files in sequential order
and process the content files in their original order in the torrent
which is some random sort order, not abc order
currently
ls -U
returns files in abc order, not in the original orderman ls
when i have access to the torrent file, i can do
... but ideally this should also work via the filesystem
to make this work recursively
we could abuse the file times to encode the file order
all file times (atime, btime, ctime, mtime) should be set to some pseudo time
for example timestamp zero (year 1970) plus the file index as seconds
so i get sequential access with
based on How to recursively find and list the latest modified files in a directory with subdirectories and times
current file times:
mtime = mount time
atime = zero
ctime = zero
btime = missing
The text was updated successfully, but these errors were encountered: