LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-27-2005, 12:05 PM   #1
aw76
Member
 
Registered: Oct 2005
Location: milky way
Distribution: suse 9.3
Posts: 47

Rep: Reputation: 15
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 #
 
Old 11-27-2005, 12:10 PM   #2
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
to copy whole directories you need to use the recursive flag.

so it's

cp -r <your_weird_file> <location>
 
Old 11-27-2005, 12:48 PM   #3
aw76
Member
 
Registered: Oct 2005
Location: milky way
Distribution: suse 9.3
Posts: 47

Original Poster
Rep: Reputation: 15
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
 
Old 11-27-2005, 06:07 PM   #4
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
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
 
Old 11-27-2005, 08:57 PM   #5
aw76
Member
 
Registered: Oct 2005
Location: milky way
Distribution: suse 9.3
Posts: 47

Original Poster
Rep: Reputation: 15
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....
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration