#AskFedi #Linux
-
Is there a way to get 'ls' to recursively list all files and folders INCLUDING the files and folders within compressed (zip,cab,tar,rar, all, any) archives BUT WITHOUT actually decompressing those archives?
MyDir
+ MyFile
+ MyCompressedArchive
+ + MyFileInsideCompressedArchive
+ + MyFolderInsideCompressedFolder
+ + + MyFileInsdeCompressedFolderI would like to list all of the previous, preferably with the path for each included. Can this be done?
-
undefined oblomov@sociale.network shared this topic
-
Is there a way to get 'ls' to recursively list all files and folders INCLUDING the files and folders within compressed (zip,cab,tar,rar, all, any) archives BUT WITHOUT actually decompressing those archives?
MyDir
+ MyFile
+ MyCompressedArchive
+ + MyFileInsideCompressedArchive
+ + MyFolderInsideCompressedFolder
+ + + MyFileInsdeCompressedFolderI would like to list all of the previous, preferably with the path for each included. Can this be done?
@afreytes the general answer is no. You can almost achieve what you want if you install AVF(S) <https://avf.sourceforge.net/> (packaged in Debian; not to be confused with avfs https://github.com/avfs/avfs), that allows you almost-seamless handling of archives by appending #/ to peek into them.