4/6/2024 0 Comments Tar to tgz![]() # have extensions like tar.bz2 or tar.gz etc. With all this in mind, you could write a little script that uses the appropriate command depending on the extension of the file you give to it: #!/usr/bin/env bashįor file in "\n-\nArchive '%s'\n-\n" "$file" That's most of the more popular archive formats. RAR 4.20 Copyright (c) 1993-2012 Alexander Roshal P7zip Version 9.20 (locale=en_US.utf8,Utf16=on,HugeFiles=on,4 CPUs) Tar/ tar.gz/ tgz/ tar.xz/ tar.bz2/ tbz files $ tar tf foo.tgzħ-Zip 9.20 Copyright (c) 1999-2010 Igor Pavlov Most (de)compression programs have a flag that lists an archive's contents. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |