what is the best way to store the filename of an extracted file in a text file?
I have a script that extract a single file from a tar file and then I need to store the name extracted file to a txt file.
tar -xvf tarfile.tar filename
tar -xvf tarfile.tar filename > filenamefile.txt
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
9 months ago