Thursday, April 24, 2014

Thursday: That thing finally fucking works

At least mostly works.  I have a suspicion that the next step isn't going to fucking work, because of course it won't.  Still, I discovered that:
tar cf - -T file_of_files_to_transfer -h | ssh remote_host tar xf - -C /destination/dir
is a stupidly efficient way to transfer files and preserve directory structures, for those times you can't use rsync, because you're only transferring a subset of the files in the subdirectory.


No comments:

Post a Comment