![]() ![]() $ lesspipe ĭrwxrwxr-x ubuntu/ubuntu 0 05:32 example/ Lesspipe is a shell script installed by default as part of the less package that can list the contents of a tar.gz archive, as well as a range of other common archive file formats. You can then list the contents of any archive: $ list_archive.sh foo.rar foo.tbz foo.zipĠ 8 0% 30-03-15 19:29 -rw-r-r- 00000000 m3b 2.9Ġ 0 0% 30-03-15 19:29 drwxr-xr-x 00000000 m0 2.0Īnd since someone mentioned that lesser editor, naturally, emacs can also do this: Save that script in your PATH and make it executable. Type zip >/dev/null 2>
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |