LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problem in copying folder from my server to pen drive 1TB (https://www.linuxquestions.org/questions/linux-newbie-8/problem-in-copying-folder-from-my-server-to-pen-drive-1tb-946938/)

sdecs2 05-26-2012 01:20 AM

Problem in copying folder from my server to pen drive 1TB
 
a want to copy a folder from my server to external Hard drive( pen drive 1 TB)
i want to syn the servers folder in my External Hard disk ( 1 TB Pen drive)
PL send the necessary programs / Instructions to copy the folder from server to my hard disk

tronayne 05-26-2012 07:58 AM

Typically, you can do this with the file manager (which may have different names depending upon the distribution and window manger you're using; e.g., KDE, GNOME, Xfce or whatever). Open the menu (usually at the lower left corner of the screen and look for "file manager").

Both devices must be mounted. If you can "see" the flash drive content in the file manager and "see" the disk drive in the file manager you can simply drag and drop.

It's also typical that when you connect a flash drive or an external hard drive that it will auto mount and the content will appear in the file manager. If that's not happening, you'll need to mount one or both, depending.

It would be useful to have a little more information -- like what distribution, what window manager, does either or both drives auto mount when you connect them.

Hope this helps some.

jefro 05-26-2012 10:36 AM

Even if you have a 1TB flash drive it is a poor choice to use to sync files.

For limited use it is OK.

See man pages on rsync.

KinnowGrower 05-26-2012 10:38 PM

rsync -avz [source dir at server] [destination directory at drive]


e.g.

rsync /var/mydir/ /mnt/externalHDD/mydir


it will copy /var/mydir/ to /mnt/externalHDD/mydir

Please note that slash at the end of /var/mydir/ and NO slash at the end of /mnt/externalHDD/mydir

Yes! read the man page for rsync as well


All times are GMT -5. The time now is 03:07 PM.