Skip to content

Commit e422151

Browse files
committed
comment
1 parent 0c12d01 commit e422151

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
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+
"""]]

0 commit comments

Comments
 (0)