> I think hard-links are the easiest solution.
>
> mkdir hardlinks
> find Music -type f -print0 | xargs -0 cp -al -t hardlinks
> (You get a warning from cp about doubles, if any)
>
> Then you can rsync the 'hardlinks'-directory as usual.
>
> When you want to update you should just 'rm -rf hardlinks
On 23.04.2012 16:50, James Robertson wrote:
> I wish to sync a bunch of flac files that reside in various subfolders
> to the root of a folder on a destination.
>
> An example of the directory structure on the source is:
...
I think hard-links are the easiest solution.
mkdir hardlinks
find Musi
On Mon 23 Apr 2012, James Robertson wrote:
>
> So on the destination the structure is:
>
> destination> tree /Destination/
> /Destination/
> ├── R
> │ ├── Radiohead
> │ │ └── OK Computer
> │ │ ├── 01 - Radiohead - Airbag.flac
> │ └── Red Hot Chilli Peppers
> │ └── Greatest H
If I were you, I would start by creating a unique folder, the image of
Destination/, and fill it with symlinks to your flac files, using -exec,
*then* calling rsync only once with the -L option (--copy-links). Thus you
should be able to benefit from the --delete option and keep an up-to-date
destin
I wish to sync a bunch of flac files that reside in various subfolders
to the root of a folder on a destination.
An example of the directory structure on the source is:
source> tree Music/
Music/
├── R
│ ├── Radiohead
│ │ └── OK Computer
│ │ ├── 01 - Radiohead - Airbag.flac
│ │