-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BEP 47: Padding files and extended file attributes #99
Comments
I'm looking for a CLI tool that supports creating torrents with symbolic links. The libtorrent library seems to support it per arvidn/libtorrent#3636 but I haven't found a (CLI) way to actually create one. |
@deliciouslytyped PS S:\Definitely\Not\Movies\Actually\Linux\ISOs> ls
Directory: S:\Definitely\Not\Movies\Actually\Linux\ISOs
Mode LastWriteTime Length Name
---- ------------- ------ ----
la--- 2023-11-10 2:27 PM 0 Not_A_Movie_Part_1.mp4 -> K:\A\Dying\Hard\Drive\Not_A_Movie_Part_1.mp4
la--- 2023-11-10 2:27 PM 0 Not_A_Movie_Part_2.mp4 -> K:\A\Dying\Hard\Drive\Not_A_Movie_Part_2.mp4
la--- 2023-11-10 2:27 PM 0 Not_A_Movie_Part_3.mp4 -> K:\A\Dying\Hard\Drive\Not_A_Movie_Part_3.mp4
-a--- 2023-08-05 8:29 PM 2424255151 Not_A_Movie_Part_4.mp4 S:\Definitely\Not\Movies\Actually\Linux\ISOs>dir . /A H
Volume in drive S is
Volume Serial Number is
Directory of S:\Definitely\Not\Movies\Actually\Linux\ISOs
2023-11-10 02:27 PM <DIR> .
2023-11-10 02:27 PM <DIR> ..
2019-06-02 08:23 AM 170,163 folder.jpg
2019-06-02 08:04 AM 130,178 Not-A-Screenshot-1.jpg
2019-06-02 08:04 AM 68,244 Not-A-Screenshot-2.jpg
2019-06-02 08:04 AM 70,865 Not-A-Screenshot-3.jpg
2019-06-02 08:04 AM 70,909 Not-A-Screenshot-4.jpg
2019-06-02 08:05 AM 66,952 Not-A-Screenshot-5.jpg
2019-06-02 08:05 AM 69,209 Not-A-Screenshot-6.jpg
2019-06-02 08:05 AM 72,925 Not-A-Screenshot-7.jpg
2023-11-10 02:27 PM <SYMLINK> Not_A_Movie_Part_1.mp4 [K:\A\Dying\Hard\Drive\Not_A_Movie_Part_1.mp4]
2023-11-10 02:27 PM <SYMLINK> Not_A_Movie_Part_2.mp4 [K:\A\Dying\Hard\Drive\Not_A_Movie_Part_2.mp4]
2023-11-10 02:27 PM <SYMLINK> Not_A_Movie_Part_3.mp4 [K:\A\Dying\Hard\Drive\Not_A_Movie_Part_3.mp4]
2023-08-05 07:29 PM 2,424,255,151 Not_A_Movie_Part_4.mp4 The resulting .torrent ignored all of the hidden images, although I was ready to just use the glob option with For the latter, I am not sure how that would work. My symlink on Windows is nothing like your symlink on Linux which is nothing like Jimbob's symlink on MacOS. Sure, they might behave or look the same, but now in addition to dealing with however they work on Linux or Mac, you've got NTFS hardlinks for files (adds a new MFT record pointing to the same data) and directories, plus symbolic "soft" links which are closer to, but still not quite what you get on Linux with a symlink. And even across Windows systems, an NTFS file "hardlink", if you somehow got a .torrent to represent it, would cause issues for the 3 people actually using ReFS; that only supported symlinks until very recently. Hell, Windows programs cannot even tell hardlinked files or directories (a.k.a junctions) apart - they look like actual files and folders to them. |
BEP 47
Add padding files and align files in torrents to piece boundaries. Should probably be enabled by default.
(I got 99 issues and this is one.)
The text was updated successfully, but these errors were encountered: