Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Trying to use rsync to copy files from one workgroup computer to another

Posted on 2006-07-19
3
Medium Priority
?
281 Views
Last Modified: 2013-12-16
I am upgrading a server I have  suse 10 on the original and suse enterprise server 9.3 on the new server. The server is used as a file server. I am trying to use rsync to copy all the files/folders from the old system to then new

Below is the command I tried. It looked like it was working but no files were copied.

rsync -a -r -R -W -u --progress  /stuff //newworkgroup/stuff
0
Comment
Question by:JonMny
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 9

Author Comment

by:JonMny
ID: 17141125
Below is a sample of the output from rsync

/disksets/AB-Rockwell Software Disks/9355WABCENE_Core FileSet_Setup/RSLinx/PnP_Drivers/Win9x/1784-PCMK/PCMKUPDT.EXE
       73728 100%  165.14kB/s    0:00:00  (1059, 2.5% of 45584)
/disksets/AB-Rockwell Software Disks/9355WABCENE_Core FileSet_Setup/RSLinx/PnP_Drivers/Win9x/1784-PCMK/RSIPAGE.VXD
        9410 100%   20.89kB/s    0:00:00  (1060, 2.5% of 45584)
/disksets/AB-Rockwell Software Disks/9355WABCENE_Core FileSet_Setup/RSLinx/PnP_Drivers/Win9x/1784-PCMK/R
0
 
LVL 22

Accepted Solution

by:
pjedmond earned 2000 total points
ID: 17141319
-u is update only. If the file already exists (and is very new because it has only just been installed on the *new* server) then the file may not get updated.

Also /stuff is the source and //newworkgroup/stuff

rsync -aruvt --progress  /stuff //newworkgroup/stuff

Is probably what I'd want to do - note the t for preserve times and I'd add the -v (verbose) as well during the trouble shooting process. No R for 'relative'.

(   (()
(`-' _\
 ''  ''
0
 
LVL 9

Author Comment

by:JonMny
ID: 17141894
Looks Like thats working, Thanks
0

Featured Post

Tech or Treat! - Giveaway

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses

609 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question