From fc671937f0d668b38d5238a95ad3f93a5127a38d Mon Sep 17 00:00:00 2001 From: Victor Hall Date: Fri, 6 Jan 2023 12:19:09 -0500 Subject: [PATCH] Update FILE_RENAME.md Signed-off-by: Victor Hall --- doc/FILE_RENAME.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/doc/FILE_RENAME.md b/doc/FILE_RENAME.md index 6005d97..7c9a5c8 100644 --- a/doc/FILE_RENAME.md +++ b/doc/FILE_RENAME.md @@ -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"* +## 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 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. -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. \ No newline at end of file +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.