Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Stuck at "cp File1 directory"

  1. #1
    Join Date
    Oct 2011
    Location
    Mysore , BHARAT.
    Beans
    148
    Distro
    Ubuntu 14.04 Trusty Tahr

    Question Stuck at "cp File1 directory"

    Code:
    kitten@mistress-s-kitten:/media/9450402750401302/document/EBOOKS$ cp palm*.pdf viirus
    cp: target `viirus' is not a directory
    kitten@mistress-s-kitten:/media/9450402750401302/document/EBOOKS$ cp palm*.pdf msc
    cp: target `msc' is not a directory
    kitten@mistress-s-kitten:/media/9450402750401302/document/EBOOKS$ cp palm*.pdf misc
    cp: target `misc' is not a directory
    kitten@mistress-s-kitten:/media/9450402750401302/document/EBOOKS$ cp palm*.pdf /misc
    cp: target `/misc' is not a directory
    kitten@mistress-s-kitten:/media/9450402750401302/document/EBOOKS$

    I want a lil help here. Any one plz help me out ! where is the problem?
    Attached Images Attached Images
    Last edited by nothingspecial; October 5th, 2011 at 07:08 PM. Reason: Code tags

  2. #2
    Join Date
    Jan 2008
    Location
    Manchester UK
    Beans
    13,638
    Distro
    Ubuntu

    Re: Stuck at "cp File1 directory"

    The attachment is difficult to read but it doesn't look like thr subdirectories you are trying to move your files into exist.

  3. #3
    Join Date
    Jan 2008
    Location
    Manchester UK
    Beans
    13,638
    Distro
    Ubuntu

    Re: Stuck at "cp File1 directory"

    From what I can tell your viirus directory is 2 levels up in the tree, so

    Code:
    cp palm*.pdf ../../viirus

  4. #4
    Join Date
    Oct 2011
    Location
    Mysore , BHARAT.
    Beans
    148
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Stuck at "cp File1 directory"

    Quote Originally Posted by nothingspecial View Post
    The attachment is difficult to read but it doesn't look like thr subdirectories you are trying to move your files into exist.
    thank u dear for reply . I m not sure how cp command act on which directory i hav to put command at destination dir. or source dir. or from root i thought from root i can't plz tell me where i shoud i give cp command . & if i can only cp my files to a sub dir. ?

  5. #5
    Join Date
    Jan 2008
    Location
    Manchester UK
    Beans
    13,638
    Distro
    Ubuntu

    Re: Stuck at "cp File1 directory"

    Try the command above

  6. #6
    Join Date
    Oct 2011
    Location
    Mysore , BHARAT.
    Beans
    148
    Distro
    Ubuntu 14.04 Trusty Tahr

    Smile Re: Stuck at "cp File1 directory"

    Quote Originally Posted by nothingspecial View Post
    From what I can tell your viirus directory is 2 levels up in the tree, so

    Code:
    cp palm*.pdf ../../viirus
    Thank u i got it a lil. would u plz tellme where can i ger more described documentation abt it?

  7. #7
    Join Date
    Jan 2008
    Location
    Manchester UK
    Beans
    13,638
    Distro
    Ubuntu

    Re: Stuck at "cp File1 directory"

    Well it's not the cp command so much as bash and the directory structure.

    Try

    http://mywiki.wooledge.org/BashGuide

  8. #8
    Join Date
    Oct 2011
    Location
    Mysore , BHARAT.
    Beans
    148
    Distro
    Ubuntu 14.04 Trusty Tahr

    Smile Re: Stuck at "cp File1 directory"

    Quote Originally Posted by nothingspecial View Post
    Try the command above
    Thank u again it works .ok if "../" is for up the tree what for down the tree? please this last one.

  9. #9
    Join Date
    Jan 2008
    Location
    Manchester UK
    Beans
    13,638
    Distro
    Ubuntu

    Re: Stuck at "cp File1 directory"

    It's not as simple as that because there can be only one parent directory but many child directories.

  10. #10
    Join Date
    Oct 2011
    Location
    Mysore , BHARAT.
    Beans
    148
    Distro
    Ubuntu 14.04 Trusty Tahr

    Smile Re: Stuck at "cp File1 directory"

    Quote Originally Posted by nothingspecial View Post
    Well it's not the cp command so much as bash and the directory structure.

    Try

    http://mywiki.wooledge.org/BashGuide
    thank u for ur help & valuable time.

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

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