Testing
This commit is contained in:
parent
421957cbb7
commit
4226464c2c
1 changed files with 3 additions and 1 deletions
|
@ -127,10 +127,12 @@
|
|||
# BTRFS Related
|
||||
clean-boot-snapshots = ''
|
||||
echo -en "Deleting boot snapshots...."
|
||||
for i in $(sudo snapper -c root list | grep boot | awk {'print $1'});
|
||||
for i in $(sudo snapper -c root list | grep boot | awk {'print $1'} | head -n -4);
|
||||
echo -en " $i,"
|
||||
sudo snapper -c root delete $i;
|
||||
end
|
||||
echo "Remaining snapshots:"
|
||||
sudo snapper -c root list
|
||||
echo -e " done."
|
||||
'';
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue