Is there an easy way to export annexed files out of the repository? (e.g. to make a copy elsewhere, send a file by email...)

Thanks, Denis.

Sure, you can simply:

cp annexedfile ~

Or just attach the file right from the git repository to an email, like any other file. Should work fine.

If you wanted to copy a whole directory to export, you'd need to use the -L flag to make cp follow the symlinks and copy the real contents:

cp -r -L annexeddirectory /media/usbdrive/
Comment by http://joeyh.name/ Fri Jun 15 19:25:59 2012
Ah! I was fooled by nautilus which is not able to properly handle symlinks when copying. It copies links instead of target [[!gnomebug 623580]].
Comment by http://denis.laxalde.org/ Fri Jun 15 19:57:31 2012
That nautilous behavior is a bad thing when trying to export files out, but it's a good thing when just moving files around inside your repository...
Comment by http://joeyh.name/ Sat Jun 16 03:26:37 2012
Comments on this page are closed.