#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 on
-
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.
-
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?
I have 90% of a solution worked out in a python script...
Now I only need to find the time to work out the other 180% of the solution...
-
I have 90% of a solution worked out in a python script...
Now I only need to find the time to work out the other 180% of the solution...
This post did not contain any content. -
This post did not contain any content.
@afreytes so, how did you achieve this?