{"id":9692,"date":"2022-10-03T18:21:14","date_gmt":"2022-10-03T16:21:14","guid":{"rendered":"https:\/\/monodes.com\/predaelli\/?p=9692"},"modified":"2022-10-03T18:21:14","modified_gmt":"2022-10-03T16:21:14","slug":"home-directory-is-it-okay-to-delete-the-cache-folder-ask-ubuntu","status":"publish","type":"post","link":"https:\/\/monodes.com\/predaelli\/2022\/10\/03\/home-directory-is-it-okay-to-delete-the-cache-folder-ask-ubuntu\/","title":{"rendered":"home directory &#8211; Is it okay to delete the ~\/.cache folder? &#8211; Ask Ubuntu"},"content":{"rendered":"<blockquote><p>This will delete everything in your .cache that was last accessed more than a year ago<\/p>\n<p>find ~\/.cache\/ -type f -atime +365 -delete<\/p><\/blockquote>\n<p>Source: <em><a href=\"https:\/\/askubuntu.com\/questions\/102046\/is-it-okay-to-delete-the-cache-folder\">home directory &#8211; Is it okay to delete the ~\/.cache folder? &#8211; Ask Ubuntu<\/a><\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p class=\"excerpt\">This will delete everything in your .cache that was last accessed more than a year ago find ~\/.cache\/ -type f -atime +365 -delete Source: home directory &#8211; Is it okay to delete the ~\/.cache folder? &#8211; Ask Ubuntu<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"https:\/\/monodes.com\/predaelli\/2022\/10\/03\/home-directory-is-it-okay-to-delete-the-cache-folder-ask-ubuntu\/\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"quote","meta":{"inline_featured_image":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[278],"tags":[],"class_list":["post-9692","post","type-post","status-publish","format-quote","hentry","category-tricks","post_format-post-format-quote"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p6daft-2wk","jetpack-related-posts":[{"id":5166,"url":"https:\/\/monodes.com\/predaelli\/2019\/01\/31\/home-directory-is-it-okay-to-delete-cache-ask-ubuntu\/","url_meta":{"origin":9692,"position":0},"title":"home directory &#8211; Is it okay to delete ~\/.cache? &#8211; Ask Ubuntu","author":"Paolo Redaelli","date":"2019-01-31","format":false,"excerpt":"home directory - Is it okay to delete ~\/.cache? - Ask Ubuntu This will delete everything in your .cache that was last accessed more than a year ago find ~\/.cache\/ -type f -atime +365 -delete If you're nervous about running it, this will show you what's going to be deleted:\u2026","rel":"","context":"In &quot;Documentations&quot;","block_context":{"text":"Documentations","link":"https:\/\/monodes.com\/predaelli\/category\/documentations\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1254,"url":"https:\/\/monodes.com\/predaelli\/2016\/04\/06\/aptyum-cheatlist\/","url_meta":{"origin":9692,"position":1},"title":"apt\/yum cheatlist","author":"Paolo Redaelli","date":"2016-04-06","format":false,"excerpt":"apt-cache se I'm actually doing the reverse: SwitchingToUbuntu\/FromLinux\/RedHatEnterpriseLinuxAndFedora\u00a0 but it's easy as a quick Ctrl-F or \/ Table of Equivalent Commands Below is a table of equivalent commands for package management on both Ubuntu\/Debian and Red Hat\/Fedora systems. Task Red Hat\/Fedora Ubuntu Adding, Removing and Upgrading Packages Refresh list of\u2026","rel":"","context":"In &quot;Debian&quot;","block_context":{"text":"Debian","link":"https:\/\/monodes.com\/predaelli\/category\/debian\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1112,"url":"https:\/\/monodes.com\/predaelli\/2016\/03\/09\/flush-the-cache-luke\/","url_meta":{"origin":9692,"position":2},"title":"Flush the cache, Luke","author":"Paolo Redaelli","date":"2016-03-09","format":false,"excerpt":"I have been writing about this annoying bug a month ago: I've solved it. I solved it flushing the browser cache. So always remember to check everything even the obvious and stick to the fundamentals. \u00a0","rel":"","context":"In &quot;Mood&quot;","block_context":{"text":"Mood","link":"https:\/\/monodes.com\/predaelli\/category\/mood\/"},"img":{"alt_text":"Instead I get this (working) links","src":"https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2016\/01\/press-this-bug.png?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2016\/01\/press-this-bug.png?resize=350%2C200 1x, https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2016\/01\/press-this-bug.png?resize=525%2C300 1.5x, https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2016\/01\/press-this-bug.png?resize=700%2C400 2x"},"classes":[]},{"id":8053,"url":"https:\/\/monodes.com\/predaelli\/2021\/01\/13\/lvm-cache-su-ssd\/","url_meta":{"origin":9692,"position":3},"title":"LVM Cache su SSD","author":"Paolo Redaelli","date":"2021-01-13","format":false,"excerpt":"24 Maggio 2020 giomba ha pubblicato la guida LVM Cache su SSD. La mia macchina principale \u00e8 configurata esattamente come la sua all'inizio, anche se io ne sono abbastanza soddisfatto. In fin dei conti \u00e8 un towerone pensato per poter essere aggiornato a pezzi man mano. Per\u00f2 l'idea di mettere\u2026","rel":"","context":"In &quot;Documentations&quot;","block_context":{"text":"Documentations","link":"https:\/\/monodes.com\/predaelli\/category\/documentations\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2021\/01\/lvmcache4-2.png?fit=477%2C221&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":9031,"url":"https:\/\/monodes.com\/predaelli\/2021\/12\/30\/packaging-pyqt5-apps-with-fbs-distribute-cross-platform-gui-applications-with-the-fman-build-system\/","url_meta":{"origin":9692,"position":4},"title":"Packaging PyQt5 apps with fbs \u2014 Distribute cross-platform GUI applications with the fman Build System","author":"Paolo Redaelli","date":"2021-12-30","format":"link","excerpt":"Packaging PyQt5 apps with fbs \u2014 Distribute cross-platform GUI applications with the fman Build System Packaging PyQt5 apps with fbs Distribute cross-platform GUI applications with the fman Build System by Martin Fitzpatrick Read time 13:29 Packaging and distribution Packaging and distribution course Packaging PyQt5 applications for Windows, with PyInstaller Packaging\u2026","rel":"","context":"In &quot;Documentations&quot;","block_context":{"text":"Documentations","link":"https:\/\/monodes.com\/predaelli\/category\/documentations\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":11563,"url":"https:\/\/monodes.com\/predaelli\/2024\/04\/03\/3-ways-to-delete-all-files-in-a-directory-except-one-or-few-files-with-extensions\/","url_meta":{"origin":9692,"position":5},"title":"3 Ways to Delete All Files in a Directory Except One or Few Files with Extensions","author":"Paolo Redaelli","date":"2024-04-03","format":"quote","excerpt":"The different extended pattern matching operators are listed below, where pattern-list is a list containing one or more filenames, separated using the | character: *(pattern-list) \u2013 matches zero or more occurrences of the specified patterns ?(pattern-list) \u2013 matches zero or one occurrence of the specified patterns +(pattern-list) \u2013 matches one\u2026","rel":"","context":"In &quot;Tricks&quot;","block_context":{"text":"Tricks","link":"https:\/\/monodes.com\/predaelli\/category\/documentations\/tricks\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/posts\/9692","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/comments?post=9692"}],"version-history":[{"count":0,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/posts\/9692\/revisions"}],"wp:attachment":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/media?parent=9692"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/categories?post=9692"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/tags?post=9692"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}