View previous topic :: View next topic |
Author |
Message |
TayloR974 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/103676892440f1d5af014dd.jpg)
Joined: 11 Jul 2004 Posts: 59 Location: If only i knew then i could escape
|
Posted: Mon Sep 20, 2004 9:08 pm Post subject: Directory move question |
|
|
Hey all, right i just have a quick question to ask and id be so greatful if you could help me out , right well, i have aload of folders inside of one main folder, for example the main folder is called 'pictures' and inside that folder i have sub folders such as 'backgrounds' 'funny' etc... i wanna copy all of the sub folders inside the one main folder into a different directory. so would the command be:
Code: | cp -r /mnt/storage/pictures/ /home/computer/picutres | ?
will that copy all of the sub folders and the contents inside of each folder successfully to the specified directory? or will i need to use * wildcard?
thanks in advance for any help =) _________________ ... Im not an expert but i really dont think its supposed to do that :\ ...
... Wish to join the Gentoo channel to chat?, then Click Here ... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
geniux Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/135711411945a7fd4acdf36.jpg)
Joined: 19 Feb 2004 Posts: 1400 Location: /home
|
Posted: Mon Sep 20, 2004 9:13 pm Post subject: |
|
|
cp -r /mnt/storage/pictures/, would be enough since the pictures dir are the main and contains all subs. _________________ AMD Athlon64 X2 4200+ AM2
MSI K9N SLI Platinum, Enermax Liberty 500W
1GB RAM Crucial DDR2 667MHz, MSI nVidia 7600GS 256MB
400GB + 250GB Samsung SATAII HDD
Gentoo - BeyondSources 2.6.19-20 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
TayloR974 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/103676892440f1d5af014dd.jpg)
Joined: 11 Jul 2004 Posts: 59 Location: If only i knew then i could escape
|
Posted: Mon Sep 20, 2004 9:59 pm Post subject: |
|
|
thanks for the info dude , just so i can see what folder its currently copying and the status with what others its copied already would i use verbose in that command?
like this:
Code: | cp -rv /home/computer/pictures | ?
Thanks again in advance _________________ ... Im not an expert but i really dont think its supposed to do that :\ ...
... Wish to join the Gentoo channel to chat?, then Click Here ... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
geniux Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/135711411945a7fd4acdf36.jpg)
Joined: 19 Feb 2004 Posts: 1400 Location: /home
|
Posted: Mon Sep 20, 2004 11:46 pm Post subject: |
|
|
TayloR974 wrote: | thanks for the info dude , just so i can see what folder its currently copying and the status with what others its copied already would i use verbose in that command?
like this:
Code: | cp -rv /home/computer/pictures | ?
Thanks again in advance |
Yes, cp -rv will do just that. _________________ AMD Athlon64 X2 4200+ AM2
MSI K9N SLI Platinum, Enermax Liberty 500W
1GB RAM Crucial DDR2 667MHz, MSI nVidia 7600GS 256MB
400GB + 250GB Samsung SATAII HDD
Gentoo - BeyondSources 2.6.19-20 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
TayloR974 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/103676892440f1d5af014dd.jpg)
Joined: 11 Jul 2004 Posts: 59 Location: If only i knew then i could escape
|
Posted: Tue Sep 21, 2004 12:24 am Post subject: |
|
|
Thanks Geniux, really appreciate the help ![Smile :)](images/smiles/icon_smile.gif) _________________ ... Im not an expert but i really dont think its supposed to do that :\ ...
... Wish to join the Gentoo channel to chat?, then Click Here ... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
geniux Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/135711411945a7fd4acdf36.jpg)
Joined: 19 Feb 2004 Posts: 1400 Location: /home
|
Posted: Tue Sep 21, 2004 8:01 am Post subject: |
|
|
No probs, glade to help ![Smile :)](images/smiles/icon_smile.gif) _________________ AMD Athlon64 X2 4200+ AM2
MSI K9N SLI Platinum, Enermax Liberty 500W
1GB RAM Crucial DDR2 667MHz, MSI nVidia 7600GS 256MB
400GB + 250GB Samsung SATAII HDD
Gentoo - BeyondSources 2.6.19-20 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|