Re: Question about --files-from= and folder structure

2014-01-05 Thread Wayne Davison
On Fri, Jan 3, 2014 at 12:39 PM, Bill Dorrian dorrian.2...@comcast.netwrote: The script that I'm running works - sort of - in that it syncs the files; but it syncs their parent directories too, which I'm trying to avoid. --files-from implies -R (--relative), which tells rsync to include the

Question about --files-from= and folder structure

2014-01-03 Thread Bill Dorrian
I'm writing a script to sync some mp3 files. Due to a limitation in the number of destination files that can be read from my thumb drive, I'm not looking to preserve the original file structure (actually, I'm looking to sync *only the files* to the new destination directory). The source files

Re: Question about --files-from= and folder structure

2014-01-03 Thread Kevin Korb
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I don't know of a simple solution that would work with both --delete and with any number of files but here is an idea... Make an additional folder and link all the mp3 files into it then rsync that folder... rm -rf /backup/Music.flat mkdir