Trying to copy file from one place to another

Post Reply
Message
Author
THX11384EB
Posts: 6
Joined: Wed Apr 17, 2019 2:34 pm

Trying to copy file from one place to another

#1 Post by THX11384EB »

I'm trying to use AntiX to copy a file from a file system my Windows system won't recognise to one that it will. The microSD card was formatted as internal storage on an Android phone which is now broken and I'd like to take a file off the card. Is the file system broken? Is the data probably missing from the card? The copy operation makes a 0 byte file at the destination. Thanks.

Code: Select all

sean@antix1:/media/sdd1-usb-Generic_Mass-Sto
$ ls
ls: cannot access 'System Volume Information': Input/output error
ls: cannot access 'OpenCamera': Input/output error
Android                                  open_gapps-arm-7.1-mini-20180304.zip
LOST.DIR                                 open_gapps-arm-7.1-mini-20180304.zip.md5
Magisk-16.1.zip                          open_gapps_debug_logs.tar.gz
MagiskManager-5.6.2.zip                  open_gapps_log.txt
MagiskManager-v5.6.1.apk                 RR-N-v5.8.5-20171231-klte-Final.zip
Magisk-v16.0.zip                         RR-N-v5.8.5-20171231-klte-Final.zip.md5sum
Nova Backup 2018-03-13_06-18.novabackup  System Volume Information
OpenCamera                               TWRP
sean@antix1:/media/sdd1-usb-Generic_Mass-Sto
$ cp "Nova Backup 2018-03-13_06-18.novabackup" "../media/GREEN USB/nova.novabackup"
cp: cannot create regular file '../media/GREEN USB/nova.novabackup': No such file or directory
sean@antix1:/media/sdd1-usb-Generic_Mass-Sto
$ 

User avatar
JayM
Qualified MX Guide
Posts: 6793
Joined: Tue Jan 08, 2019 4:47 am

Re: Trying to copy file from one place to another

#2 Post by JayM »

Can you post your inxi -Fxrz info?
Please read the Forum Rules, How To Ask For Help, How to Break Your System and Don't Break Debian. Always include your full Quick System Info (QSI) with each and every new help request.

User avatar
srq2625
Posts: 188
Joined: Mon Jan 21, 2019 10:40 am

Re: Trying to copy file from one place to another

#3 Post by srq2625 »

Your copy command has an error. The relative address of the destination would expand to

Code: Select all

"/media/media/GREEN USB/nova.novabackup"
It should read, I think,

Code: Select all

$ cp "Nova Backup 2018-03-13_06-18.novabackup" "../GREEN USB/nova.novabackup"
or

Code: Select all

$ cp "Nova Backup 2018-03-13_06-18.novabackup" "/media/GREEN USB/nova.novabackup"
This assumes, of course, the 'GREEN USB' is mounted at /media
AsusTek PRIME B450-Plus
AMD Ryzen 7 2700 (8-Core, 16 threads)
Radeon HD 6570/7570/8550 / R5 230
Realtek RTL8111/8168/8411 - driver: r8169
Samsung SSD 860 EVO 500GB
DDR4 3200MHz CL16 2x8GB

Post Reply

Return to “antiX”