This commit is contained in:
parent
d93cef60d3
commit
bdeab80f5c
4
trash.sh
4
trash.sh
@ -20,8 +20,8 @@ trash_put() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
trash_empty() {
|
trash_empty() {
|
||||||
echo "Delete all $(find "$TRASH_DIR" ! -name ".filepaths" | tail -n +2 | wc -l) files in trash?"
|
\rm -rf "${TRASH_DIR/*}" && echo >"$FILE_PATHS_FILE"
|
||||||
\rm -irf "${TRASH_DIR/*}" && echo >"$FILE_PATHS_FILE"
|
echo "Deleted $(find "$TRASH_DIR" ! -name ".filepaths" | tail -n +2 | wc -l) files in trash"
|
||||||
}
|
}
|
||||||
|
|
||||||
trash_restore() {
|
trash_restore() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user