Results 1 to 5 of 5

Thread: Deleting .cache in home directory

  1. #1
    Join Date
    Aug 2008
    Location
    Mexico and Sweden
    Posts
    1,272

    Default Deleting .cache in home directory

    openSUSE 13.1 64bit KDE

    Whenever I backup my home directory to another box the process is slowed down by a very large number of cached items. Is there any reason to not delete these mostly browser generated files prior to starting the backup? I don't mind slowing down my browsing.

    Thanks in advance.

  2. #2
    Join Date
    May 2012
    Location
    Finland
    Posts
    2,002

    Default Re: Deleting .cache in home directory

    Why not just add the directory to exclude?
    .: miuku #suse @ irc.freenode.net
    :: miuku@opensuse.org

    .: h​ttps://download.opensuse.org/repositories/home:/Miuku/

  3. #3
    Join Date
    Aug 2008
    Location
    Mexico and Sweden
    Posts
    1,272

    Default Re: Deleting .cache in home directory

    Quote Originally Posted by Miuku View Post
    Why not just add the directory to exclude?
    I agree. That is the simplest way to deal with it. But I still prefer not choking my home partition with thousands of files. I'm going to try making the directory non-writeable to see if that helps.

  4. #4
    Join Date
    Jun 2008
    Location
    Sogndal, Noreg
    Posts
    1,103

    Default Re: Deleting .cache in home directory

    Quote Originally Posted by ionmich View Post
    I agree. That is the simplest way to deal with it. But I still prefer not choking my home partition with thousands of files. I'm going to try making the directory non-writeable to see if that helps.
    Hello.

    I don't think you should do that, quite some number of apps needs to write to that directory. I believe it should be quite safe to delete most of the content stored here though, hence, you can do that prior to the back-up process; or, do as Miuku said, if I understood him correctly, and exclude that directory from your back-up catalogue.

    Also, clear the browser history from time to time to get rid of its cached files, cookies, browsing log, site preferences etc...
    OpenSuSE 13.1, KDE 4.11.5, 64bit
    Gigabyte 990FXA-UD3, AMD FX8350, MSI GeForce GTX 760, RME HDSP9632, 16GB HyperX Kingston DDR3, Samsung 840-Pro SSD 128GB, WD Desktop Black 1TB, Hitachi Deskstar 7K1000 750GB

  5. #5
    Join Date
    Aug 2014
    Location
    Seattle area
    Posts
    8

    Default Re: Deleting .cache in home directory

    Quote Originally Posted by ionmich View Post
    I agree. That is the simplest way to deal with it. But I still prefer not choking my home partition with thousands of files. I'm going to try making the directory non-writeable to see if that helps.
    A link to /dev/null won't produce write errors. Personally I'd delete by age with a cron job and exclude various caches from backups.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •