Update FILE_RENAME.md
Signed-off-by: Victor Hall <victor.charles.hall@gmail.com>
This commit is contained in:
parent
17b58e7237
commit
fc671937f0
|
@ -13,6 +13,12 @@ By default, it will replace "a man", "a woman", and "a person" with your supplie
|
||||||
->
|
->
|
||||||
"john doe standing in a park with birds on his shoulders.jpg"*
|
"john doe standing in a park with birds on his shoulders.jpg"*
|
||||||
|
|
||||||
|
## Append tags only
|
||||||
|
|
||||||
|
python scripts/filename_replace.py --img_dir "x:\myfiles" --append_only " by claude monet"
|
||||||
|
|
||||||
|
This will simply append " by claude monet" without replacing anything, useful to add tags or artstyle keywords.
|
||||||
|
|
||||||
## Chaining with auto caption
|
## Chaining with auto caption
|
||||||
|
|
||||||
You can chain together the auto_caption.py and file_rename.py to help deal with multiple people in photos in a simple shell script (bash or windows .bat) with a bit of thinking about what you replace and using --find to specify the pronoun to replace first more specifically than all three default pronouns.
|
You can chain together the auto_caption.py and file_rename.py to help deal with multiple people in photos in a simple shell script (bash or windows .bat) with a bit of thinking about what you replace and using --find to specify the pronoun to replace first more specifically than all three default pronouns.
|
||||||
|
@ -27,4 +33,4 @@ You can chain together the auto_caption.py and file_rename.py to help deal with
|
||||||
|
|
||||||
See clip_rename.bat in the root folder, modify it to your needs.
|
See clip_rename.bat in the root folder, modify it to your needs.
|
||||||
|
|
||||||
Renaming is nearly instant as it is just renaming the files and not using and AI models or calculations, just a dumb find and replace on the filename.
|
Renaming is nearly instant as it is just renaming the files and not using and AI models or calculations, just a dumb find and replace on the filename.
|
||||||
|
|
Loading…
Reference in New Issue