Hi i'm a new user but rsync is easy and a great tool

I have a folder caled source and a folder caled destini, like this

+ Source
 |_ FolderA
 |____ File1
 |____ File2

+ Destini
 
I use this comando to sync only File 1

rsync -a Souce/FolderA/File1 Destini

it's copy the File 1 to Destini but i would like who rsync create te Folder A 
in the destini and put the File 1 inside Then.

I read many times the man but not find anything about it, it's possible, thanks 
for some help.

By the way, i need to specify the name of file i want to copy i can't use

rsync -r Souce Destini

Becouse in the Source Folder exist some file if i didn't whant to copy.


/**
  * [s] Anselmo Battisti
  * battisti.wordpress.com
  * ( Informática » Unioeste | Webgenium ) » Cascavel » Paraná » Brasil » Terra 
» .. .. » Web
  * Linux User : 415222
  **/




      Abra sua conta no Yahoo! Mail, o único sem limite de espaço para 
armazenamento!
http://br.mail.yahoo.com/
-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to