Thursday 15 December 2011

copying files with with and exclude certain folders

copying files with with and exclude certain folders

i use the system restore cd to copy files from windows partition with windows installation.

i have been using this when im inside t
Code:

cp -a * /mnt/"harddrive2"
what I would like to know if i can exclude files from being copied. I want to read the files to be excluded from a text file.


OR

Alternative method make i could make a bash script but then i have to figure out how to put it into systemrescuecd image before i burn it onto a cd.

No comments:

Post a Comment