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' then
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
│ │
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
On Thu, Feb 26, 2009 at 07:55:22PM -0700, Manoj Joseph wrote:
Is there a way of passing a list of source _and_ destination paths??
Only for a single-file transfer. So, to do this with rsync, you'd need
to transfer each file separately, possibly using the lighter daemon
protocol (which could be
Hi,
I am working on a replication tool for lustre filesystems.
We have introduced a mechanism for getting the changes that have been
made to a lustre filesystem - similar to inotify. We call this
mechanism, changelogs.
For performing replication, we open the source file using its 'file
to rsync:
tr '\n' '\0' LIST | rsync --files-from=- --from0 ...
Matt
signature.asc
Description: This is a digitally signed message part
--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before
Hi All,
I'm new to rsync usage in Mac OS X. I'm having a strange issue with --
files-from option.
I'm providing the --files-from to provide a file , which contains the
list of files separated by newline character , to perform backup
operation. Especially in Mac OS X , particular tiff bundle
On Sun, 2008-05-18 at 02:35 +, JanakiRam wrote:
I'm new to rsync usage in Mac OS X. I'm having a strange issue with --
files-from option.
I'm providing the --files-from to provide a file , which contains the
list of files separated by newline character , to perform backup
operation.
https://bugzilla.samba.org/show_bug.cgi?id=3633
Summary: rsync files-from using rsync daemon fails w/ error code
12
Product: rsync
Version: 2.6.0
Platform: Other
OS/Version: Linux
Status: NEW
Severity
https://bugzilla.samba.org/show_bug.cgi?id=3633
[EMAIL PROTECTED] changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|
On Tue, Mar 23, 2004 at 06:33:48PM -0600, Jeremy Grant wrote:
Does anyone have any ideas how I get this to work with the
--files-from option?
Try using the --no-implied-dirs option. With that set, you'll need to
mention all the directories that need to be created on the destination
system, but
Here is what I have been doing with rsync(This is condinced version of
the main script that runs):
#!/usr/local/bin/bash
SSH=/usr/local/bin/ssh
RSYNC=/usr/local/bin/rsync
SED=/usr/bin/sed
USER=vmladmin
ROLLLISTDIR=/home/vmladmin/rolllists/
Hi,
I was able to rsync files from Windows 2000 to Solaris 8 but when I opened
the text files with vi on solaris, a '^M' char was appended to each line of
the files. My question is how to get rid of that '^M' when rsync'ing ? I
suspect this is because Windows and Unix treat line feed/carriage
On Tue, Sep 23, 2003 at 10:12:55AM -0400, Zhang, John wrote:
Hi,
I was able to rsync files from Windows 2000 to Solaris 8 but when I opened
the text files with vi on solaris, a '^M' char was appended to each line of
the files. My question is how to get rid of that '^M' when rsync'ing ? I
man dos2unix
-- Brendan
--
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
15 matches
Mail list logo