2009/12/30

Copy directories on FreeBSD!

Having no idea abt how to copy the folders!?

Try below:


cp -iprv /source /dist

i -> Interactive. Will prompt you if overwriting files.
p
-> Preserve file attributes like date, time, etc.
r
-> Recursive. Will also copy subdirectories.
v
-> Verbose. Will show each file as it is copied.

No comments:

Post a Comment