Sample Header Ad - 728x90

Copying all files and folders of a directory using tar

0 votes
0 answers
989 views
I am trying to copy my files from ssd to external hdd using linux live boot. The command I'm writing is: root@ubuntu:/media/ubuntu/4bd92f4b-6b48-4f4a-83ad-9d82d3be488b/home/pegasus# tar cf - Downloads | ( cd /media/ubuntu/Seagate Backup Plus/Downloads; tar xvf -) But the problems is all directories aren't getting copied into the hdd. And no files of downloads are getting copied. How can I debug it? How can I use to copy everything from Download directory of my ssd to external hdd using tar? Files that should be copied: Files that should be copied: Files that are getting copied: enter image description here
Asked by Zeshan Ahmed Nobin (111 rep)
Apr 12, 2023, 07:39 PM