LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   can mv but cant cp...??? (https://www.linuxquestions.org/questions/linux-newbie-8/can-mv-but-cant-cp-386986/)

aw76 11-27-2005 12:05 PM

can mv but cant cp...???
 
i am trying to copy files and ma having difficulty...i have no problems moving them around, but when i try to copy (tried numerous different versions of the dir commands and stuff) i always get an error...below is my latest attempt....what am i missing?
thanks
aw


linux:/home/peRpeTuaLeVoLuTiOn/azureus # cp Butthole\ Surfers-Locust\ Abortion\ Technician\(Darkside_RG\)/ /home/peRpeTuaLeVoLuTiOn/temp\ shit/
cp: omitting directory `Butthole Surfers-Locust Abortion Technician(Darkside_RG)/'
linux:/home/peRpeTuaLeVoLuTiOn/azureus #

ethics 11-27-2005 12:10 PM

to copy whole directories you need to use the recursive flag.

so it's

cp -r <your_weird_file> <location>

aw76 11-27-2005 12:48 PM

cheers...thanks alot for that...i knew it was gonna be something ridiculously easy, but still beyond my means...still recovering from being sppoon fed in windows...

i just realised how weird my file is ...its actually purely coincidental that that was what i was working on at the time, but it is exactly the kind of thing i would usually do intentionally for pure "shock" value...hehe

aw

ethics 11-27-2005 06:07 PM

whenever a problem like this arises you can try

man <command>

it lists the man(ual) pages for that particular command, often containing very useful information.

And everytime i look at that file it seems a bit stranger :p

aw76 11-27-2005 08:57 PM

thanks for the tip...may keep me from filling up this board with posts..hehe

re:the file- it is actually an old punk band and their album title...haha...when i lookt at it after i read your post again, i laffed outloud...people are gonna think(know) im some kind of a deviant....damn, my secret is out....


All times are GMT -5. The time now is 01:20 PM.