parallelize cleanup

This commit is contained in:
Tyler Mayoff 2025-07-07 21:16:37 -04:00
parent ec6276e368
commit 07d6a9eb05

View file

@ -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