I'm just creating a tarball of a corrupted USB NTFS Windows drive which I mounted in /media
. Instead of creating the tarball in on the drive itself /dev/sdb2
I wish to have it created on my own drive /dev/sda
. What's the correct output?
I'm just creating a tarball of a corrupted USB NTFS Windows drive which I mounted in /media
. Instead of creating the tarball in on the drive itself /dev/sdb2
I wish to have it created on my own drive /dev/sda
. What's the correct output?
You can use the following command to put the tarball on the other drive:
If you want to gzip your tar file add 'z' to tar options (tar czvf) and append.gz at the end of the .tar file.