Recent comments posted to this site:
git-annex stored a bunch of files on a S3 bucket under foo/ and now I'd like to "move" them to bar/.
Assuming I manually "move" the files on S3 to bar/, would git annex enableremote s3 fileprefix=bar/ be enough to access the existing encrypted files?
Or does fileprefix influence the S3 location of future files only?
It lowers the probability to only files that happen to start with the same prefix. There are many cases where 2 versions of a file start with the same data and diverge later, think eg a filesystem image where one file has been changed.
So I think this would give a false sense of protection, kind of like wearing a steel toed boot but with a gun still pointed at your foot.
It's better to just not use WORM. Modern computers can hash really fast, especially if you use BLAKE3.
That needs to be a bug report. I have copied it to one here: S3 pointed to minio console potential data loss
Coming back to this one, turns out this is feasible using git annex registerurl:
``` aria2c --show-files multi-file.torrent
get the number of the file
git annex registerurl "$(git annex lookupkey file.mp4)" "magnet:...#" ```
Works as intended; however, this will skip verification, so it's imperative that this is only used when you are 100% certain the file in the torrent is exactly the same your local one. :)
I have not looked at borg 2 in any detail, but it seems they are trying to keep the CLI to some extent the same. So it seems it would depend on whether CLI changes break something git-annex relies on.
I'd treat any incompatability as a bug or todo on the git-annex side, so if you try it and find problems, please report them.
With borg 2.0 on the horizon, I was wondering how support for that would look should that be planned.
With how much has changed and the necessity to create new repos, it might make the most sense to create a separate borg2 remote, but I have now idea. Mostly just curious if there are any plans for that at all.
Heyo,
Is it possible to assign multi-file torrent links to files, without needing to download the entire torrent again using Annex?
Consider the following scenario:
A multi-file torrent has been downloaded in the past, say, using qBittorrent...
... I then add the files to Git Annex, and would like to efficiently register torrent/magnet URLs for them...
Annex maps files to a multi-file torrent using #<n> suffixes, so I've tried the following:
aria2c --show-files <torrent file>-- to get the numbers for each filegit annex addurl --file "file.mp4" "magnet:...#<N>"-- to map the file to its original torrent/magnet
The following error occurs:
(downloading torrent file...) git-annex: That url contains multiple files according to the bittorrent remote; cannot add it to a single file.
If there's any information or clarification needed, please don't hesitate to let me know :)