Find the answer to your Linux question:
Results 1 to 5 of 5
Hi all I have made a file called mnt/millwalll/ I want copy files from cd to it i bene using this line cp --preserve -r /{files name}/mnt/millwalll/ I get cp: ...
  1. #1
    Just Joined!
    Join Date
    May 2008
    Posts
    38

    copying files from cd to HDD

    Hi all I have made a file called mnt/millwalll/ I want copy files from cd to it i bene using this line

    cp --preserve -r /{files name}/mnt/millwalll/

    I get cp: target /mnt/millwalll/ is not a directory


    any help be amazing thanks

  2. #2
    Trusted Penguin Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,392
    remove the file /mnt/milwalll/and create a directory instead using the 'mkdir' command
    Linux user #126863 - see http://linuxcounter.net/

  3. #3
    Just Joined!
    Join Date
    May 2008
    Posts
    38
    thanks a lot why would it do that tho if i already created the dir ?

  4. #4
    Linux Newbie Ziplock's Avatar
    Join Date
    Jan 2009
    Location
    Adelaide
    Posts
    169
    You said you created a file. Post the output of
    Code:
    ll /mnt

  5. #5
    Trusted Penguin Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,392
    You didn't create a dir. You created a file. You know it's not a directory because when you try to copy files into it, your shell says "... is not a directory".
    Linux user #126863 - see http://linuxcounter.net/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...