new file rename rule

This commit is contained in:
Danilo Reyes 2025-04-20 15:22:32 -06:00
parent 7348e213da
commit afe0386bda

View File

@ -30,7 +30,7 @@ while IFS= read -r file; do
regex_str='source|tenor|media|duckduckgo\.com|giphy|'
regex_str+='(?<!app)image|^download|unknown|zoom|'
regex_str+='new_canvas|untitled|drawpile|OIG|'
regex_str+='imgpsh_'
regex_str+='imgpsh_|Dropped Image'
if ! basename "$file" | rg --pcre2 -q "$regex_str"; then
continue
fi