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

Re: Problem selecting options for cp command



On 09/05/2016 05:21 PM, Richard Owlett wrote:
> "archive" had brought up mental image of dusty back rooms where things
> were being preserved for posterity. Not making a copy to actually be used.
> 
> Someone had suggested rsync but that has too many options for me to
> bungle. "cp" may be slower but appears more comfortable.
> 
> Thanks to all.

For rsync, the only options that you need to worry about are -a and -v.
Even then the -v is optional.

	rsync -av /media/richard/myrepo/ /media/richard/test/

Just remember the trailing slash on the directories and it will go fine.

Regards,
Lars


Reply to: