Deleting junk files from target
This commit is contained in:
parent
96273847d9
commit
f498b8f0e3
|
@ -65,6 +65,7 @@ clean_target() {
|
||||||
for file in $(find "$TARGET/var/log" -type f); do
|
for file in $(find "$TARGET/var/log" -type f); do
|
||||||
echo | sudo tee $file
|
echo | sudo tee $file
|
||||||
done
|
done
|
||||||
|
find "$TARGET" \( -name "*~" -or -name ".??*~" -or -name "#*#" -or -name ".#*" \) -delete
|
||||||
}
|
}
|
||||||
|
|
||||||
archive_target() {
|
archive_target() {
|
||||||
|
|
Loading…
Reference in New Issue