Vu+
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Cannot copy from hdd to usb without overwrite

Discussion in 'Newbies Questions & Infos' started by roverdublin, Jan 13, 2021.

  1. roverdublin

    roverdublin Vu+ Newbie

    Messages:
    25
    Hi
    It looks like the -n option is not available on Blackhole. I would like to copy all recorded movies from the hdd/movie location to the usb/movie location without overwriting files

    cp -n /media/hdd/movie/* /media/usb/movie/

    the folowing option also dos not work

    cp -i /media/hdd/movie/* /media/usb/movie/

    Can somebody tell me how i can do this?

    Regards
    roverdublin
     
  2. Alexwilmac

    Alexwilmac Vip

    Messages:
    5,875
    cp -dav to copy also subdirs, for instance.
    If you check the copy command of the image you can read the available options.
    Enigma2 images are NOT linux itself.
     
  3. roverdublin

    roverdublin Vu+ Newbie

    Messages:
    25
    Hi, it looks like it is not possible to use a copy command (cp) attribute which skips already existing files on the destination drive.
     
  4. Alexwilmac

    Alexwilmac Vip

    Messages:
    5,875
    I use it every day, by a script.
     

Share This Page