Sample Header Ad - 728x90

Extract a list of files from tape with tar

1 vote
0 answers
843 views
My goal is to extract only the files in a list from an lto5 tape using tar. The data was originally written to the tape using tar as well. I am able to accomplish this task from a .tgz file by doing: gunzip "Unless you are running tar with ‘--create’, you cannot use both > --files-from=- and --file=- (-f -) in the same command." Because it is not possible to use the --file and --files-from (-T) options together, I'm wondering if it's even possible to restore specific files from tape this way? I've seen others have had to position the tape at different points to get specific files and am curious if that is the only method?
Asked by kevin41 (123 rep)
Jan 6, 2023, 05:55 PM