All brought to you by FUSE, a generic framework to access all kinds of things as files. You can even go one step further and the AVFS to access archives as directories¹. So rather than use the ssh command to access remote hosts, and the tar command to access archives, use the SSHFS filesystem to access files on remote hosts mkdir hostname-dir.tmpįor a in hostname-dir.tmp/*.tgz do tar xvf "$a" done It's easier to work with files than with commands.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |