mirror of
https://codeberg.org/tmayoff/.dotfiles.git
synced 2025-12-06 08:48:34 -05:00
parallelize cleanup
This commit is contained in:
parent
ec6276e368
commit
07d6a9eb05
1 changed files with 8 additions and 1 deletions
9
.github/actions/disk_space/clean.sh
vendored
9
.github/actions/disk_space/clean.sh
vendored
|
|
@ -26,6 +26,13 @@ paths=(
|
||||||
/etc/skel/.rustup
|
/etc/skel/.rustup
|
||||||
)
|
)
|
||||||
|
|
||||||
sudo rm -rf "${paths[@]}"
|
mkdir /empty
|
||||||
|
|
||||||
|
for p in "${paths[@]}"
|
||||||
|
do
|
||||||
|
sudo rsync "$p" &
|
||||||
|
done
|
||||||
|
|
||||||
|
wait
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue