LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   syncing 2 folders (https://www.linuxquestions.org/questions/linux-software-2/syncing-2-folders-287071/)

bwa 02-06-2005 07:24 PM

syncing 2 folders
 
What is available to sync to directories? I have /home/alan/mp3, and /mnt/iHP/mp3 (iRiver mp3 player), and I want to sync them automatically. I only care about filenames, not ID3 tags (ie, not what is inside the files, just their names and maybe size). Is there a way to easily sync using filenames/sizes from two different directories, recursively? big_wierd_al@hotmail.com

-Alan

koheleth 02-06-2005 07:38 PM

Using Rsync is one fairly easy way.

I use this to backup my home dir to a spare disk:
Code:

rsync -ax /home /backup
Okay... what I use is a little more complex then that... but that's the basic command.

The rsync website has some good examples: samba.anu.edu.au/rsync/

The man page is also surprisingly good.


All times are GMT -5. The time now is 10:34 AM.