Equivalent between rsync -aHr and cp -al

2004-01-22 Thread Charles Nadeau
Hi, Just a quick question. I am looking for a replacement for the command "cp -al" which has problems dealing with a massive amount of files (http://mail.gnu.org/archive/html/bug-coreutils/2003-12/msg00028.html). Could I use "rsync -aHr" to do _exactly_ the same thing as "cp -al"? I just want to

RE: Rsyncing Windows directory to a Linux box: problem with spacesin directory names

2003-12-16 Thread Charles Nadeau
Max Kipness wrote: >> Another option is to upgrade to the CVS version (available in >> the near future as version 2.6.0) and use the --files-from >> option to specify your files (since it already parses the >> names one per line). > > Charles, > > Based on what was just said above, I am using Ba

Re: Rsyncing Windows directory to a Linux box: problem with spacesin directory names

2003-12-16 Thread Charles Nadeau
Wayne Davison wrote: > On Tue, Dec 16, 2003 at 08:08:53PM -0600, Max Kipness wrote: >> Based on what was just said above, I am using Bash version 2.05b.0(1), >> and no extra configs for splitting are necessary as it splits >> appropriately at the end of the line. > > No, bash splits on all whites

Re: Rsyncing Windows directory to a Linux box: problem with spacesin directory names

2003-12-16 Thread Charles Nadeau
Wayne Davison wrote: > On Tue, Dec 16, 2003 at 08:08:53PM -0600, Max Kipness wrote: >> Based on what was just said above, I am using Bash version 2.05b.0(1), >> and no extra configs for splitting are necessary as it splits >> appropriately at the end of the line. > > No, bash splits on all whites

RE: Rsyncing Windows directory to a Linux box: problem with spacesin directory names

2003-12-16 Thread Charles Nadeau
Max Kipness wrote: >> Anything I could do besides trying to escape the space or >> putting the whole directory between double quote? > > Not sure what the problem is. Could it be an OS issue? I noticed a Max, I am using Gentoo 1.4. Thanks! Charles > difference in general with the way Redhat

Re: Rsyncing Windows directory to a Linux box: problem with spaces in directory names

2003-12-16 Thread Charles Nadeau
Wayne Davison wrote: > On Wed, Dec 17, 2003 at 09:05:50AM +0900, Charles Nadeau wrote: >> backup=`cat /etc/snapshot/include.text` >> rsync -va [...] $backup $backuproot/$type.1/ > > This is entirely a shell issue -- the shell you are using is splitting Wayne, Here is the

RE: Rsyncing Windows directory to a Linux box: problem with spaces in directory names

2003-12-16 Thread Charles Nadeau
Max Kipness wrote: >> > I am trying to rsync folders/files hosted on a Windows machine to a >> > Linux machine. Many of the directory names have spaces in them. >> > How can I list them in a file so that the --include-from option use >> > them correctly? >> > Thanks! >> > >> > Charles >> >> try\

Re: Rsyncing Windows directory to a Linux box: problem with spaces in directory names

2003-12-16 Thread Charles Nadeau
Mike wrote: > Charles Nadeau wrote: >> Hello, >> >> I am trying to rsync folders/files hosted on a Windows machine to a >> Linux machine. Many of the directory names have spaces in them. >> How can I list them in a file so that the --include-from option

Rsyncing Windows directory to a Linux box: problem with spaces in directory names

2003-12-15 Thread Charles Nadeau
Hello, I am trying to rsync folders/files hosted on a Windows machine to a Linux machine. Many of the directory names have spaces in them. How can I list them in a file so that the --include-from option use them correctly? Thanks! Charles -- Charles-E. Nadeau Ph.D http://radio.weblogs.com/011182