Re: rsync files from subfolders on source to root of a folder on destination

2012-04-24 Thread James Robertson
> 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

Re: rsync files from subfolders on source to root of a folder on destination

2012-04-23 Thread Matthias Schniedermeyer
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

Re: rsync files from subfolders on source to root of a folder on destination

2012-04-23 Thread Paul Slootman
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

Re: rsync files from subfolders on source to root of a folder on destination

2012-04-23 Thread Greg Deback (rsync)
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

rsync files from subfolders on source to root of a folder on destination

2012-04-22 Thread James Robertson
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 │ │

Re: rsync --files-from

2009-03-03 Thread Wayne Davison
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

rsync --files-from

2009-02-26 Thread Manoj Joseph
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 identifie

Re: rsync --files-from option file with a custom Delimiter

2008-05-19 Thread Matt McCutchen
JanakiRam, please CC the rsync list in replies so that your messages are archived and others can help you. On Mon, 2008-05-19 at 02:34 -0700, JanakiRam wrote: > > > Is there any way i can specify the custom delimiter to rsync to read > > > the file names. Please help me to solve this. > > > >

Re: rsync --files-from option file with a custom Delimiter

2008-05-17 Thread Matt McCutchen
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

rsync --files-from option file with a custom Delimiter

2008-05-17 Thread JanakiRam
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 file

DO NOT REPLY [Bug 3633] rsync files-from using rsync daemon fails w/ error code 12

2006-03-28 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=3633 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

DO NOT REPLY [Bug 3633] New: rsync files-from using rsync daemon fails w/ error code 12

2006-03-28 Thread samba-bugs
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

Re: rsync --files-from with symlink in path

2004-03-24 Thread Wayne Davison
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, bu

rsync --files-from with symlink in path

2004-03-23 Thread Jeremy Grant
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/ RO

Re: rsync files from Windows 2000 to Solaris 8

2003-09-23 Thread Brendan Strejcek
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

Re: rsync files from Windows 2000 to Solaris 8

2003-09-23 Thread jw schultz
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

rsync files from Windows 2000 to Solaris 8

2003-09-23 Thread Zhang, John
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