exclude Downloads dir itself from clear-downloads
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/bash
|
#!/usr/bin/bash
|
||||||
|
|
||||||
# clear all files in ~/Downloads older than 24h
|
# clear all files in ~/Downloads older than 24h
|
||||||
fd --changed-before 1d --full-path ~/Downloads --exec-batch rm -rf
|
fd --changed-before 1d --search-path ~/Downloads --exec-batch rm -rf
|
||||||
|
|||||||
Reference in New Issue
Block a user