![]() (merging corinth/git-annex into git-annex.)Ĭompressing objects: 100% ( 18/18), done. Keep track of which of my 3 external USB drives the actual photos exist 0 ~/myrepo(master)% git remote add corinth 0 ~/myrepo(master)% git annex syncĠabc238.9a23674 git-annex -> usbdrive/git-annex Keep the folder hierarchy for every photo I've ever taken, but without having to Gigabytes of photos that will definitely not fit on my laptop's SSD, so I can This is where I really get a lot of value out of git-annex, I have about 40 You would expect because all of the information metadata is stored in the Additionally, you can create branches and revert commits just like Remain (it will be a broken symlink) so you know which files are part of the The file for this repository if the USB drive is disconnected, because git-annexĬan't tell whether the file is still actually on the disk.Įven if a file's content is removed, any folders as well as the symlink will Keep in mind that a repository needs to be available in order for git-annex toĮnsure that the data still resides there however. Git-annex: drop: 1 1 /Volumes/MINIDRIVE1/myrepo(master)% (Use -force to override this check, or adjust numcopies.) Rather than dropping this file, try using: git annex move ĭrop Grace-Hopper-Nanoseconds.mp4 (unsafe)Ĭould only verify the existence of 0 out of 1 necessary copies (Recording state in 0 ~/myrepo(master)% cd 0 /Volumes/MINIDRIVE1/myrepo(master)% git annex drop. Move data in a much more fine-grained approach by using the move or copyĬommands, for 0 ~/myrepo(master)% git annex drop. If you don't want the blanket copy that git annex sync -content does, you can Grace-Hopper-Nanoseconds.mp4: ISO Media, MPEG v4 system, version 0 /Volumes/MINIDRIVE1/myrepo(master)% * git-annex -> 0 /Volumes/MINIDRIVE1/myrepo(master)% file Grace-Hopper-Nanoseconds.mp4 Get Grace-Hopper-Nanoseconds.mp4 (from laptop.) Metadata (the symlink), you can verify this with the file 0 /Volumes/MINIDRIVE1/myrepo(master)% git annex sync -content However, you can see that the content hasn't actually been copied over, only the Lrwxrwxrwx 1 hinmanm staff 198B Dec 20 13:09 0 /Volumes/MINIDRIVE1/myrepo(master)% ![]() * synced/master -> laptop/synced/masterĪlready 0 /Volumes/MINIDRIVE1/myrepo(master)% ls -lh ![]() (merging synced/git-annex into git-annex.) * master -> 0 ~/myrepo(master)% cd 0 /Volumes/MINIDRIVE1/myrepo(master)% git annex sync (merging usbdrive/git-annex into git-annex.)Ĭompressing objects: 100% ( 13/13), done. Remote: Total 5 (delta 0), reused 0 (delta 0) Remote: Compressing objects: 100% ( 3/3), done.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |