exclude Downloads dir itself from clear-downloads
This commit is contained in:
1 parent
a5ec10426d
commit
b8eeaf5c35
1 file changed
+1
-1
@@ -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