SCP backup script

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Mike Hoy
Date:  
To: plug-discuss
Subject: SCP backup script
Hi,
i'm trying to write a backup script using scp from my laptop to my server.
I stumbled across some instructions on the web but i'm not quite getting
what i want.
this works:

scp -rp /home/user/music/*.mp3
root@192.168.2.161:/mnt/LaptopBackup/user/music/

and all of the *.mp3's copy over.

that would be fine if I had all of my *.mp3 files in one big directory
but i don't

in /music i have more directories for each band..

i would just like to copy an entire directory with all of it's sub
directories.

then later i'll just make a script out of it.

TIA,

mike h
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss