mirror of
https://github.com/Lissy93/dotfiles.git
synced 2024-11-28 10:13:11 +01:00
WIP: script to free up disk space
This commit is contained in:
parent
dea5e5a8c2
commit
96530d4c93
22
utils/free-up-disk-space.sh
Normal file
22
utils/free-up-disk-space.sh
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
######################################################################
|
||||||
|
# 📊 Free up disk space #
|
||||||
|
######################################################################
|
||||||
|
# Series of commands for freeing up disk space on *nix based systems #
|
||||||
|
# Will ask for user permission before executing or deleting anything #
|
||||||
|
# Info about current disk usage is printed before starting #
|
||||||
|
# #
|
||||||
|
# Includes the following tasks: #
|
||||||
|
# - Cleaning package cache for various package managers #
|
||||||
|
# - Removing orphaned and unused packages and binaries #
|
||||||
|
# - Setting logging preferences and removing old logs #
|
||||||
|
# - Removing local cache files for the current user #
|
||||||
|
# - Deleting broken symlinks and empty files + folers #
|
||||||
|
# - Finding and deleting duplicated large files #
|
||||||
|
# #
|
||||||
|
# IMPORTANT: Before running, read through everything very carefully! #
|
||||||
|
# For docs and more info, see: https://github.com/lissy93/dotfiles #
|
||||||
|
######################################################################
|
||||||
|
# Licensed under MIT (C) Alicia Sykes 2022 <https://aliciasykes.com> #
|
||||||
|
######################################################################
|
Loading…
Reference in New Issue
Block a user