code.fastix.org

Dateiansicht:

Datei:Projekte -> Ubuntu,btrfs,apt:Löschen alter Snapshots -> INSTALL
md5:809b18fce5660ec1f086b2eb3d63be75
sha1:c5bf735ebc4e0601fdf4cb04c173f923a5a1a712
  1. # copy & paste this in a terminal or download and run `. INSTALL` ([dot-char] [blank-char] INSTALL) in a shell
  2. olddir=$(pwd);
  3. cd ~;
  4. if [ ! -d ~/bin ]; then mkdir bin; fi
  5. cd ~/bin;
  6. wget -O "delete-apt-snaphots.sh" "https://code.fastix.org/showFile.php?file=Projekte/Ubuntu,btrfs,apt:L%C3%B6schen%20alter%20Snapshots/delete-apt-snaphots.sh&download=1";
  7. chmod 755 delete-apt-snaphots.sh
  8. cd "${olddir}";
  9.