Results 1 to 3 of 3

Thread: Cannot stat filename while copying

  1. #1
    Join Date
    May 2007
    Location
    London UK
    Beans
    107
    Distro
    Ubuntu 12.04 Precise Pangolin

    Cannot stat filename while copying

    I wish to copy a directory structure from a USB drive to a sata local drive. I get the following error message for a number of files:

    cp: cannot stat `/media/disk3part1/mydirectory/my_file-name': No such file or directory'

    The files nevertheless exist. Does anyone know what could be causing this?


    (please ignore thread prefix - I'm using Ubuntu 11.10 - don't know why I have to add an irrelevant prefix to post!)

  2. #2
    Join Date
    Jan 2007
    Location
    Location: Location:
    Beans
    1,246
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Cannot stat filename while copying

    Can you post the actual cp command you issued before recieving that error?
    clear && echo paste url and press enter; read paste; (youtube-dl $paste) | zenity --progress --title="" --text "Downloading, please wait" --auto-close --pulsate && ans=$(zenity --file-selection); gnome-terminal -x mplayer "$ans"

  3. #3
    Join Date
    May 2007
    Location
    London UK
    Beans
    107
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Cannot stat filename while copying

    Quote Originally Posted by |{urse View Post
    Can you post the actual cp command you issued before recieving that error?
    Yes. Here it is:

    root@TonidoPlug2:/media/disk1part1/Indi/off_office_NAS# cp -r /media/disk3part1/* ./
    Last edited by pmorton; April 21st, 2012 at 10:49 AM.

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
  •