Apple Xsan 1.4 User Manual

Page 170

Advertising
background image

170

Appendix B

Using the Command Line

Examples

Copy the file friday to /datasets/data1/july/:

$ cvcp friday /datasets/data1/july

Copy the folder /data1/ and all subfolders to /datasets/data1/, retaining all permissions

and ownerships and displaying files as they are copied:

$ cvcp -vxy data1 /datasets/data1

Perform a similar copy as above, but only copy files with names that begin “jul”:

$ cvcp -vxy -p jul data1 /datasets/data1/july

Copy the folder /datasets/ to a tar file named /transfers/data.tar:

$ cvcp . - > /transfers/data

Advertising