File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed
doc/forum/Managing_a_large_number_of_files_archived_on_many_pieces_of_read-only_medium___40__E.G._DVDs__41__ Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change
1
+ [[!comment format=mdwn
2
+ username="joey"
3
+ subject="""comment 15"""
4
+ date="2021-10-11T16:07:38Z"
5
+ content="""
6
+ git-annex now has the ability to import a tree of files from a
7
+ directory special remote, which results in a remote tracking branch, the
8
+ same as you'd have after fetching a git remote.
9
+
10
+ git-annex initremote dvd type=directory directory=/path/to/DVD encryption=none importtree=yes
11
+ git-annex import master --from dvd --no-content
12
+
13
+ The --no-content option avoids copying files to the local disk, although
14
+ their content still will have to be read to hash them. If you want to
15
+ copy the files from the disk at the same time, omit that option.
16
+
17
+ After that, you can use the dvd/master branch it created in whatever way
18
+ you desire. Also if you want the discs files to end up in a subdirectory,
19
+ that can be specified when you import, eg "master:dvd" will put the files
20
+ into a dvd/ subdirectory.
21
+
22
+ Using this with multiple discs would probably work best if there was a way
23
+ to mount each DVD to its own unique location.
24
+ """]]
You can’t perform that action at this time.
0 commit comments