The UNIX and Linux Forums
>
Operating Systems
>
SUN Solaris
Submit A Basic System Administration Command
User Name
Remember Me?
Password
Google UNIX.COM
Forums
Directory
Register
Forum Rules
FAQ
Contribute
Members List
Search
Today's Posts
Mark Forums Read
Thread
:
Submit A Basic System Administration Command
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
5
(
permalink
)
12-10-2007
robsonde
Registered User
Join Date: Dec 2007
Posts: 51
Code:
cd /source;find . -print |cpio -pudvm /destination
this will copy all files and directories from /source to /destination
cool trick is that it will keep correct ownership/attributes and modification time for all files.
robsonde
View Public Profile
Find all posts by robsonde