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

Re: Transfering system directories to new HD



Try cp -ax /source /destination 
The a option copies symbolic links as links, preserves permissions, and 
copies directories recursively.
The x option tells cp to not copy anything on a different file system.

I have always used this method and the only thing I have to do is 
create the directories that act as mount points, they do not get 
copied because of -x.

Hope it helps

A. Paul


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . Trouble? 
e-mail to templin@bucknell.edu .


Reply to: