← Back to team overview

ubuntu-phone team mailing list archive

Re: How to remove cache

 

On Sunday, 25 September 2016 11:14:55 CEST, Matthias Apitz <guru@xxxxxxxxxxx> wrote:
On Sunday, 25 September 2016 10:58:06 CEST, ubuntu@xxxxxxxxxx wrote:
Hi,

I just discovered that I almost ran out of space on my MX4. After an initial clean up I noticed there is also around 700 mb of cache data:

phablet@ubuntu-phablet:/userdata/user-data/phablet$ df -h
Filesystem                       Size  Used Avail Use% Mounted on
udev                             944M  4.0K  944M   1% /dev
tmpfs                            190M  564K  189M   1% /run
/dev/disk/by-partlabel/userdata   12G  9.5G  1.5G  87% /userdata

phablet@ubuntu-phablet:/userdata/user-data/phablet$ du | sort -k1n,1
404304	./Videos/com.ubuntu.camera
408144	./Videos
427552	./.local/share
427556	./.local
745788	./.cache
2539528	./Pictures/com.ubuntu.camera
2567708	./Pictures
4640348	./Music
8905960	.

Is it safe to remove this cache data? Just with rm? Or is there a more sophisticated method?

Thanks!

Mattias


below .cache a lot of valuable data of your used apps is stored; if I were you, I would start first thinking in the 2.5 GB of pictures and the 4.6 GB of music...

Matthias (with two t and h)



Thanks Matthias. I aleady thought it was good to ask around :)


--
Sent using Dekko from my Ubuntu device


References