All tags
cleanup
Narrow down
Other tips8
- Tip
flatpak uninstall --unusedflatpak uninstall --unused removes runtimes nothing needs anymoreDeletes Flatpak runtimes that no installed app uses anymore.3 Dec 2026 - Tip
rotate 4Olddir in logrotate moves rotated logs into a folder of their ownKeeps all rotated copies of a log in one separate directory instead of next to the live file.3 Dec 2026 - Tip
SELECT * FROM sys.schema_unused_indexesMySQL's sys.schema_unused_indexes view lists indexes nothing has usedFinds candidates for removal that only slow down writes.1 Dec 2026 - Tip
find /srv/app -name '*.log' -mtime +30 -exec mv -t /srv/old-logs {} +find -exec mv -t moves many files with one mv commandMoves all the files find selects into one folder with a handful of mv calls instead of one per file.30 Nov 2026 - Tip
find /srv/share -type f -atime +365find -atime is often wrong, because Linux barely updates access timesShows why searching for files nobody read lately with find gives misleading results.30 Nov 2026 - Tip
ls -iFind -inum deletes a file whose name you can't typeRemoves a file with a strange name by its inode number instead of its name.30 Nov 2026 - Tip
find /srv /etc -xtype l -lsfind -xtype l lists symlinks that point to nothingLists symbolic links whose target no longer exists.21 Feb 2026 - Tip
find . -mindepth 1 -type d -emptyfind -type d -empty lists the folders with nothing in themLists empty files and empty directories under a path.18 Feb 2026
Docker7
- Tip
docker network prunedocker network prune --filter label!= spares the networks you markRemoves unused Docker networks, optionally only old ones or only ones without a label.3 Dec 2026 - Tip
docker volume prune -adocker volume prune skips named volumes unless you add -aKnow which unused volumes a prune removes, and when it removes your data too.30 Nov 2026 - Tip
docker image ls --filter 'reference=nginx'Filter docker image ls by name pattern to find one family of imagesList only the images whose name or tag matches a pattern.30 Nov 2026 - Tip
docker buildx dudocker buildx du shows what the Docker build cache holdsList build cache entries with size and last use before you prune them.30 Nov 2026 - Tip
docker container prune --filter "until=24h"docker container prune --filter until= only removes old stopped containersRemoves only stopped containers older than a given age or with a given label.28 Nov 2026 - Tip
docker compose down --rmi localdocker compose down --rmi local removes the images a project builtStops and removes a Compose project and deletes images that have no custom tag.28 Nov 2026 - Tip
docker image prune -a --filter "until=240h"docker image prune -a --filter until= only removes old imagesRemoves only unused images older than a set age instead of every unused image.3 Jul 2026
Shell4
- Tip
sudo -E -u www-data php occ trashbin:sizeOcc trashbin:size caps how big the Nextcloud trash bin may growShows or sets how large the Nextcloud trash bin may be, globally or per user.28 Nov 2026 - Tip
sudo -E -u www-data php occ versions:cleanup \Occ versions:cleanup --path deletes the old versions of one Nextcloud folderDeletes the stored file versions of a user, limited to one folder with --path.28 Nov 2026 - Tip
d /srv/scratch 0755 root root 14dOne tmpfiles.d line deletes old files from a folder on scheduleRemoves files older than a set age from a directory every day, without cron.27 Nov 2026 - Tip
sudo find / -xdev -type f -size +500M -exec ls -lh {} +Find -size +500M -xdev lists big files on one filesystem onlyLists large files on one filesystem so you can see what is filling it.18 Feb 2026
Phone2
- Tip
Photos > Collections > Utilities > DuplicatesMerge duplicate photos in the Utilities section of Photos on iPhoneLet Photos find double pictures and combine them into one.1 Dec 2026 - Tip
Settings > General > iPhone Storage > pick an app > Offload AppOffload an app on iOS to free space without losing its dataRemove an app but keep its documents for when you reinstall it.1 Dec 2026
Storage2
- Tip
rclone ncdu remote:backuprclone ncdu lets you browse what fills a cloud remoteExplores a remote's folder sizes in a text interface before you clean up.1 Dec 2026 - Tip
find /backup -type f -mtime +7 -printfind -mtime +7 means at least eight days old, because fractions are droppedExplains how find rounds ages in days and how to get a finer cut-off in minutes.16 Feb 2026
Nothing matches.