mention git-annex export

This commit is contained in:
Joey Hess 2017-09-07 16:17:46 -04:00
parent 165725b9df
commit 34ad1c15e8
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
4 changed files with 35 additions and 1 deletions

View file

@ -0,0 +1,10 @@
[[!comment format=mdwn
username="joey"
subject="""comment 3"""
date="2017-09-07T20:13:23Z"
content="""
The new `git-annex export` feature allows you to export a tree
to a special remote, with the origiginal filenames being visible there.
S3 should support it soon.
"""]]

View file

@ -0,0 +1,18 @@
[[!comment format=mdwn
username="joey"
subject="""comment 2"""
date="2017-09-07T20:15:10Z"
content="""
The new `git annex export` command can be used for this. It exports the
current tree of files to a special remote. If your Android device can be
mounted to the filesystem, you can initremote a directory special remote on
it, and then export to it.
It would also be possible to make a special remote that uses `adb` or some
other method to manipulate the files on the Android device, rather than
going via the directory special remote.
The main downside is, if you modify files on the Android device, or add new
files, there's no way to commit the changes from there back to
your git repository.
"""]]

View file

@ -17,4 +17,7 @@ Thank you!
> I don't think this is something git-annex can usefully do.
> Instead, see
> <http://git-annex.branchable.com/tips/public_Amazon_S3_remote/>. [[done]] --[[Joey]]
> <http://git-annex.branchable.com/tips/public_Amazon_S3_remote/>. --[[Joey]]
> [[done]]; the new `git-annex export` feature allows you to export a tree
> to a special remote. --[[Joey]]

View file

@ -10,3 +10,6 @@ I know this would have several downsides:
* much more exposed to corruption (no checksum to check against recorded? or can this be put somewhere else?)
The main advantage, for me, is much better interoperability: any remote becomes usable by other non-git-annex clients... It would also be great as it would allow me to store only a *part* of my git-annex files on a remote without having a forest of empty files (on broken filesystems) or symlinks (on real filesystems) for files that are missing, something that is a massive source of confusion for users I work with. It could, for example, allow me to create thumb drives that would solve the [[hide missing files]] problem. -- [[anarcat]]
> [[done]]; the new `git-annex export` feature allows you to export a tree
> to a special remote. --[[Joey]]