new file rename rule
This commit is contained in:
parent
7348e213da
commit
afe0386bda
@ -30,7 +30,7 @@ while IFS= read -r file; do
|
|||||||
regex_str='source|tenor|media|duckduckgo\.com|giphy|'
|
regex_str='source|tenor|media|duckduckgo\.com|giphy|'
|
||||||
regex_str+='(?<!app)image|^download|unknown|zoom|'
|
regex_str+='(?<!app)image|^download|unknown|zoom|'
|
||||||
regex_str+='new_canvas|untitled|drawpile|OIG|'
|
regex_str+='new_canvas|untitled|drawpile|OIG|'
|
||||||
regex_str+='imgpsh_'
|
regex_str+='imgpsh_|Dropped Image'
|
||||||
if ! basename "$file" | rg --pcre2 -q "$regex_str"; then
|
if ! basename "$file" | rg --pcre2 -q "$regex_str"; then
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user