Re: rsync and removable devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Il giorno ven, 20/04/2007 alle 14.42 +0100, Anne Wilson ha scritto:

> On both the box and the laptop I can see the files in konqueror 
for example into /media/key ...

> - so it is 
> mounting the drive correctly.
Yes

>   I can move files around manually.  What I 
> can't do is find an rsync command that will address the removable drive.
when it is mount, the removable device is like a folder..

then if you want sync the files on box, via removable drive, to laptop i
propose:

1) on box:
# test -d /media/key/folder-with-big-file &&
rsync -avz (--delete) /home/user/folder-with-big-file /media/key

2) unplug removable device from box, plug removable device on laptop

3) on laptop:
# test -d /media/key/folder-with-big-file &&
rsync -avz (--delete) /media/key/folder-with-big-file /home/user

(warning for --delete) 

Is this what you want?

-- 
Dario Lesca <d.lesca@xxxxxxxxxx>


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux