This commit is contained in:
parent
0617ab7ac7
commit
f3db776294
2
trash.sh
2
trash.sh
@ -20,7 +20,7 @@ trash_put() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
trash_empty() {
|
trash_empty() {
|
||||||
\rm -rf "${TRASH_DIR/*}" && echo >"$FILE_PATHS_FILE"
|
\rm -rf "$TRASH_DIR/*" && echo >"$FILE_PATHS_FILE"
|
||||||
echo "Deleted $(find "$TRASH_DIR" ! -name ".filepaths" | tail -n +2 | wc -l) files in trash"
|
echo "Deleted $(find "$TRASH_DIR" ! -name ".filepaths" | tail -n +2 | wc -l) files in trash"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user