It is currently March 20th, 2025, 6:21 pm



Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Auto rename folder before compressing.
PostPosted: February 10th, 2025, 9:31 am 

Joined: June 8th, 2013, 7:00 am
Posts: 11
Is there anyway to auto rename a folder before it gets compressed? or maybe auto rename the compressed file before it gets uploaded? I'm auto downloading files with a torrent client and then I used a tool to monitor a directory to auto extract but it seems that the extracted files would include the file extension in the folder name which I don't want. I tried a few other auto extractor tools but they all include the file extension in the folder name. So I'm wondering can TC rename folder names unless someone knows a good auto extractor tool that can extract without including the file extension in the folder name.


Top
 Profile  
Reply with quote  
 Post subject: Re: Auto rename folder before compressing
PostPosted: February 10th, 2025, 10:39 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 13102
Location: Earth
themaCreator can do that (both rename before uploading and save renamed file to HDD as well).

I would need some examples of "Before" and "After" how you need it to be.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Auto rename folder before compressing
PostPosted: February 10th, 2025, 11:35 am 

Joined: June 8th, 2013, 7:00 am
Posts: 11
An example folder name before:
Code:
[無名老圖] シトラリ奴隷化 (原神).zip

after
Code:
[無名老圖] シトラリ奴隷化 (原神)

basically I just want file extension removed


Top
 Profile  
Reply with quote  
 Post subject: Re: Auto rename folder before compressing
PostPosted: February 10th, 2025, 1:06 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 13102
Location: Earth
You would need to add a replacement to remove that.

In "REPLACEMENTS" -> under "Subject" tab -> add this replacement with "Apply to" selected as "Filename":

Search for:
Code:
\.(zip|rar)$


Replace with:
Code:
(leave empty)


Enable regex search.

I have included "rar" as well just in case.

"Filename" replacement is for uploading to host.

To remove that from the actual post subject add the same replacement with "Apply to" as "All post types" selected.

Attachment:
replacement_filename.png
replacement_filename.png [ 89.31 KiB | Viewed 51 times ]


To rename the saved archive file on HDD which themaCreator creates (if you are saving them) -> enable option in "Settings" -> "Process" -> "Compress" -> "Apply the same changes to archive filename which are applied when uploading.":

Attachment:
compress.png
compress.png [ 69.6 KiB | Viewed 51 times ]

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

Who is online

Users browsing this forum: No registered users and 14 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Theme designed by stylerbb.net © 2008
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All times are UTC