OESF Portables Forum

General Forums => General Discussion => Topic started by: bam on June 07, 2006, 04:38:37 pm

Title: Copy Directory Structure To Another Dir
Post by: bam on June 07, 2006, 04:38:37 pm
anyone give a hand, never had to do this, btw creating an ext2 image of meanies gcc image, found that tmake cant find perl, due to the path given in the script.
Title: Copy Directory Structure To Another Dir
Post by: xamindar on June 07, 2006, 04:46:01 pm
You need to be more specific.  The simplest way to copy a whole directory structure is to use "cp -a [origin] [destination]"
Title: Copy Directory Structure To Another Dir
Post by: DaemonsGR on June 07, 2006, 05:27:08 pm
cp -R ?
Title: Copy Directory Structure To Another Dir
Post by: bam on June 08, 2006, 01:04:38 am
cp  -a actually worked, never used that for anything so, didnt know, btw the ex2 image for gcc will be around 80mb, ouch, but thats ok I am extending my /hdd2 to 1gig for that...
Title: Copy Directory Structure To Another Dir
Post by: Da_Blitz on June 09, 2006, 03:31:26 am
-a is for arciving and keeps permissions and timestamps intact as mell as symlinks