[{"data":1,"prerenderedAt":243},["ShallowReactive",2],{"post-\u002Fblog\u002F2021\u002Fhow-to-open-your-zipper-use-fuse-to-browse-archives":3},{"id":4,"title":5,"body":6,"categories":225,"date":229,"description":22,"extension":230,"image":231,"meta":232,"navigation":238,"path":239,"seo":240,"stem":241,"__hash__":242},"blog\u002Fblog\u002F2021\u002Fhow-to-open-your-zipper-use-fuse-to-browse-archives.md","How To Open Your Zipper - Use Fuse To Browse Archives",{"type":7,"value":8,"toc":221},"minimark",[9,13,16,102,105,111,114,134,137,145,152,157,160,165,168,171,176,194,197,202,217],[10,11,12],"p",{},"Since I did many Backups of important folder in former times using 7z (one snapshot had 14 GB), I was searching for a way to access it more easily.",[10,14,15],{},"For zip, there is already a package fuse-zip (in a quite old version 0.5.0, but there is no fuse module packaged for 7zip archives. You will find e.g. fuse-7z-ng on Github, but it is quite wired to build it and at the end, compiling fuse-7z-ng fails. But there is also avfs available in raspbian based on debian 10. Since it is quite outdated (1.0.6) and the latest version is 1.1.4, we will build it ourself.",[17,18,23],"pre",{"className":19,"code":20,"language":21,"meta":22,"style":22},"language-bash shiki shiki-themes github-light github-dark","sudo apt install build-essential liblzma5 liblzma-dev\ncd ~\nwget -O avfs-1.1.4.tar.bz2 https:\u002F\u002Fsourceforge.net\u002Fprojects\u002Favf\u002Ffiles\u002Favfs\u002F1.1.4\u002Favfs-1.1.4.tar.bz2\u002Fdownload\ntar xfj avfs-1.1.4.tar.bz2\ncd avfs-1.1.4\n.\u002Fconfigure\n","bash","",[24,25,26,51,61,76,88,96],"code",{"__ignoreMap":22},[27,28,31,35,39,42,45,48],"span",{"class":29,"line":30},"line",1,[27,32,34],{"class":33},"sScJk","sudo",[27,36,38],{"class":37},"sZZnC"," apt",[27,40,41],{"class":37}," install",[27,43,44],{"class":37}," build-essential",[27,46,47],{"class":37}," liblzma5",[27,49,50],{"class":37}," liblzma-dev\n",[27,52,54,58],{"class":29,"line":53},2,[27,55,57],{"class":56},"sj4cs","cd",[27,59,60],{"class":37}," ~\n",[27,62,64,67,70,73],{"class":29,"line":63},3,[27,65,66],{"class":33},"wget",[27,68,69],{"class":56}," -O",[27,71,72],{"class":37}," avfs-1.1.4.tar.bz2",[27,74,75],{"class":37}," https:\u002F\u002Fsourceforge.net\u002Fprojects\u002Favf\u002Ffiles\u002Favfs\u002F1.1.4\u002Favfs-1.1.4.tar.bz2\u002Fdownload\n",[27,77,79,82,85],{"class":29,"line":78},4,[27,80,81],{"class":33},"tar",[27,83,84],{"class":37}," xfj",[27,86,87],{"class":37}," avfs-1.1.4.tar.bz2\n",[27,89,91,93],{"class":29,"line":90},5,[27,92,57],{"class":56},[27,94,95],{"class":37}," avfs-1.1.4\n",[27,97,99],{"class":29,"line":98},6,[27,100,101],{"class":33},".\u002Fconfigure\n",[10,103,104],{},"Watch out, if liblzma was recognized correctly:",[10,106,107],{},[108,109],"img",{"alt":22,"src":110},"\u002Fimages\u002Fblog\u002F2021\u002F11\u002Fimage.png",[10,112,113],{},"Then compile the tool:",[17,115,117],{"className":19,"code":116,"language":21,"meta":22,"style":22},"make\nsudo make install\n",[24,118,119,124],{"__ignoreMap":22},[27,120,121],{"class":29,"line":30},[27,122,123],{"class":33},"make\n",[27,125,126,128,131],{"class":29,"line":53},[27,127,34],{"class":33},[27,129,130],{"class":37}," make",[27,132,133],{"class":37}," install\n",[10,135,136],{},"Then execute the mount command",[17,138,143],{"className":139,"code":141,"language":142},[140],"language-text","mountavfs\ncd ~\u002F.avfs\n","text",[24,144,141],{"__ignoreMap":22},[10,146,147,148,151],{},"Below this path, your whole root filesystem is mirrored. But with the difference, that you can simply ",[24,149,150],{},"ls"," into (mostly) any archive file you find by adding # to the end of the archive file name.",[10,153,154],{},[108,155],{"alt":22,"src":156},"\u002Fimages\u002Fblog\u002F2021\u002F11\u002Fimage-1.png",[10,158,159],{},"You can also cd into it:",[10,161,162],{},[108,163],{"alt":22,"src":164},"\u002Fimages\u002Fblog\u002F2021\u002F11\u002Fimage-2.png",[10,166,167],{},"Unfortunately, it is read only, but you can even access the content with vi or any other tool of your choice.",[10,169,170],{},"Have fun browsing to your archives...",[172,173,175],"h3",{"id":174},"links","Links",[177,178,179,188],"ul",{},[180,181,182],"li",{},[183,184,185],"a",{"href":185,"rel":186},"https:\u002F\u002Faskubuntu.com\u002Fquestions\u002F94649\u002Fhow-to-mount-a-zip-file-as-a-file-system",[187],"nofollow",[180,189,190],{},[183,191,192],{"href":192,"rel":193},"http:\u002F\u002Favf.sourceforge.net\u002F",[187],[195,196],"hr",{},[198,199,201],"h2",{"id":200},"kommentare-comments","Kommentare \u002F Comments",[10,203,204,205,210,211,216],{},"Hast du Fragen oder Anmerkungen zu diesem Artikel? ",[183,206,209],{"href":207,"rel":208},"https:\u002F\u002Fgithub.com\u002Fthe78mole-blog\u002Fthe78mole-blog.github.io\u002Fissues\u002Fnew?title=Kommentar+zu%3A+how-to-open-your-zipper-use-fuse-to-browse-archives&labels=comment",[187],"Erstelle ein GitHub Issue"," oder starte eine ",[183,212,215],{"href":213,"rel":214},"https:\u002F\u002Fgithub.com\u002Fthe78mole-blog\u002Fthe78mole-blog.github.io\u002Fdiscussions",[187],"Diskussion",".",[218,219,220],"style",{},"html pre.shiki code .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":22,"searchDepth":53,"depth":53,"links":222},[223,224],{"id":174,"depth":63,"text":175},{"id":200,"depth":53,"text":201},[226,227,228],"Bashing","Linux","Storage","2021-11-08","md","\u002Fimages\u002Fblog\u002F2021\u002F11\u002F7zip-and-fuse.png",{"tags":233},[234,235,236,237],"7zip","AVFS","compressed archives","loop-mount",true,"\u002Fblog\u002F2021\u002Fhow-to-open-your-zipper-use-fuse-to-browse-archives",{"title":5,"description":22},"blog\u002F2021\u002Fhow-to-open-your-zipper-use-fuse-to-browse-archives","sAYv7JopRfc3k6ql5RLv-YJa-HwE55x_09eRgXJ2Jmo",1777286693944]