artish Posted June 24, 2013 Share Posted June 24, 2013 It would be cool if you could add a variable for pasting out of clipboard. Also, ist there a way to manage the presets / add new ones? Link to comment
Carlos-Sz Posted June 24, 2013 Author Share Posted June 24, 2013 It would be cool if you could add a variable for pasting out of clipboard. Also, ist there a way to manage the presets / add new ones? Thank you for your suggestion. I’ll probably add it after some tests. Regarding your second question: Recent Expressions The workflow saves the last regular expressions you have used. To add a Recent expression to Presets just type plus symbol followed by the preset name: +For My Videos While in Presets just type minus symbol “-“ to remove from Presets. Link to comment
tsigo Posted June 30, 2013 Share Posted June 30, 2013 This was exactly what I needed. Nice work. Link to comment
Carlos-Sz Posted January 21, 2014 Author Share Posted January 21, 2014 (edited) RegEx Renamer 2.0 Beta 1 Make some tests before using it for good. This version is still a beta. See the initial post for more information and how to use the new version. What's new? Use the workflow to rename a single file without using a regular expression Use Regular Expression then Find and Replace in the same time Last used expression item added Hot key to use the last expression with no interaction (use with caution) Improved regular expression unicode support Cleaner interface and new icons Download now Edited January 21, 2014 by Carlos-Sz Link to comment
40-02 Posted January 22, 2014 Share Posted January 22, 2014 (edited) Great workflow! Very useful! I've been missing total comander multi-rename tool so much, and here this workflow! Is it possible to make it move files to folders by regexp. For example if I put in new filename field symbol "/" - it means that file supposed to be moved to folder before symbol"/" with filename after symbol. for example if I would put file into folder with date - I would write command like this: regex (.*)\.(.*)@$y$m$d/$1.$2 Or may be my problem has solution alredy? I just want to group files to folders by date. Edited January 22, 2014 by 40-02 Link to comment
Carlos-Sz Posted January 23, 2014 Author Share Posted January 23, 2014 Right now it is not possible but it's an interesting feature. I'll consider it for sure. Thank you for your feedback. Great workflow! Very useful! I've been missing total comander multi-rename tool so much, and here this workflow! Is it possible to make it move files to folders by regexp. For example if I put in new filename field symbol "/" - it means that file supposed to be moved to folder before symbol"/" with filename after symbol. for example if I would put file into folder with date - I would write command like this: regex (.*)\.(.*)@$y$m$d/$1.$2 Or may be my problem has solution alredy? I just want to group files to folders by date. Link to comment
Carlos-Sz Posted January 29, 2014 Author Share Posted January 29, 2014 RegEx Renamer 2.0 Beta 2 What's new? Creation date, modification date and height and width file properties added Create a folder utilizing regular expression and move files after renaming e.g. (.*)\.(.*)@$y$m$d/$1.$2 Check if a file already exists before applying Beta 1: Improved regular expression unicode support Cleaner interface and new icons Use the workflow to rename a single file without using a regular expression Use Regular Expression then Find and Replace in the same time Last used expression item added Hot key to use the last expression with no interaction (use with caution) Download NowSee initial post for details. Great workflow! Very useful! I've been missing total comander multi-rename tool so much, and here this workflow! Is it possible to make it move files to folders by regexp. For example if I put in new filename field symbol "/" - it means that file supposed to be moved to folder before symbol"/" with filename after symbol. for example if I would put file into folder with date - I would write command like this: regex (.*)\.(.*)@$y$m$d/$1.$2 Or may be my problem has solution alredy? I just want to group files to folders by date. Now you can use “/“ to create a new folder and move the files there like you have suggested: (.*)\.(.*)@$y$m$d/$1.$2 40-02 1 Link to comment
Carlos-Sz Posted March 4, 2014 Author Share Posted March 4, 2014 Version 2.0 is out! Download NowWhat's new? Use the workflow to rename a single file without using a regular expression Use Regular Expression then Find and Replace in the same time Last used expression item added Hot key to use the last expression with no interaction (use with caution) Creation date, modification date and height and width file properties added Create a folder utilizing regular expression and move files after renaming Check if a file already exists before applying Improved regular expression unicode support Cleaner interface and new icons See initial post for more details. 40-02 1 Link to comment
politicus Posted May 10, 2014 Share Posted May 10, 2014 @Carlos I kinda feel stupid, but I can't make the workflow work. After selecting one .txt file in Finder, launching Finder, typing regex name text.txt, hitting enter, nothing happens ... I didn't tried the to rename my files with a regular expression. (I am a Mavericks user) Link to comment
Carlos-Sz Posted May 10, 2014 Author Share Posted May 10, 2014 @Carlos I kinda feel stupid, but I can't make the workflow work. After selecting one .txt file in Finder, launching Finder, typing regex name text.txt, hitting enter, nothing happens ... I didn't tried the to rename my files with a regular expression. (I am a Mavericks user) Mavericks here too. You have to highlight Apply Now then hit enter key. Link to comment
Carlos-Sz Posted May 21, 2014 Author Share Posted May 21, 2014 (edited) Rename 3.0 is out! Alfred 2.3 or later is required Download Now What's new? Changed workflow name to only Rename EXIF Original Date (to use as a filename constant) Up to 10 times faster to process and even faster to rename Included the keyword ren as an alternative to the regex Recent Expressions shortcut: type a single @ Presets shortcut: type a single # New Picture Preset Improved Last Used feature UI refinements, including new icons New Help Filename case procedure improved Fixed second leading zero constant Edited May 21, 2014 by Carlos-Sz Link to comment
Efty.Edge Posted June 14, 2014 Share Posted June 14, 2014 (edited) Hi Carlos, Rename 3.0 works like charm under Mavericks. Thank you for this little nice utility! It makes my life much easier. But to my surprise it stops working under OS X 10.10 Yosemite... Here the error message: 0 , , file, , renamed (,1 , failed) Is a quick fix possible!? Thanx in advance. Efty Edited June 14, 2014 by Efty Edge Link to comment
Carlos-Sz Posted June 14, 2014 Author Share Posted June 14, 2014 Hi Carlos, Rename 3.0 works like charm under Mavericks. Thank you for this little nice utility! It makes my life much easier. But to my surprise it stops working under OS X 10.10 Yosemite... Here the error message: o , , file, , renamed (,1 , failed) Is a quick fix possible!? Thanx in advance. Efty It seems Yosemite Finder rename command may be different or not available yet. I’m still running Mavericks but you can make a test so we can get more informations about the error: 1. Download this zip 2. Uncompress the two files in the Rename 3.0 workflow folder 3. Open regex_test.scpt in AppleScript Editor 4. Select 2 files in Finder (test files, they will be renamed) 5. Run the script Thank you for your feedback. Link to comment
Efty.Edge Posted June 14, 2014 Share Posted June 14, 2014 (edited) Hello Carlos thanx for your quick reply. I've done as told ... It seems Yosemite Finder rename command may be different or not available yet. I’m still running Mavericks but you can make a test so we can get more informations about the error: 1. Download this zip 2. Uncompress the two files in the Rename 3.0 workflow folder 3. Open regex_test.scpt in AppleScript Editor 4. Select 2 files in Finder (test files, they will be renamed) 5. Run the script Thank you for your feedback. ... and here is the german error message. error "„Finder“ hat einen Fehler erhalten: Der Vorgang kann im Moment nicht abgeschlossen werden, da eine andere Aufgabe, wie Bewegen oder Kopieren eines Objekts oder Entleeren des Papierkorbs, durchgeführt wird." number -8065 In english it means something link this. Finder has received an error. The operation can not be completed, because there a different task, such as moving or copying an object or emptying the Trash is performed. Hope this helps...!? Best regards Efty Edited June 14, 2014 by Efty Edge Link to comment
Carlos-Sz Posted June 14, 2014 Author Share Posted June 14, 2014 Hello Carlos thanx for your quick reply. I've done as told ... ... and here is the german error message. error "„Finder“ hat einen Fehler erhalten: Der Vorgang kann im Moment nicht abgeschlossen werden, da eine andere Aufgabe, wie Bewegen oder Kopieren eines Objekts oder Entleeren des Papierkorbs, durchgeführt wird." number -8065 In english it means something link this. Finder has received an error. The operation can not be completed, because there a different task, such as moving or copying an object or emptying the Trash is performed. Hope this helps...!? Best regards Efty Finder, for some reason, is busy and not queueing additional commands. Maybe Finder is not 100% operational or it is indeed stuck in some action. Can you try to restart Finder or even your Mac? When the first beta is ready I’ll try to install Yosemite. Link to comment
Efty.Edge Posted June 15, 2014 Share Posted June 15, 2014 Hi again, i restarted my Mac and even the Finder. Rename 3.0 shows the same behavior. So far so good, then i will be patient and also wait for the first beta. Thank you for your support. Best regards Efty Link to comment
sirtiman Posted July 25, 2014 Share Posted July 25, 2014 Use this software,it would be really helpful "KrojamSoft BatchRenameFiles program" Link to comment
knutfh Posted August 22, 2014 Share Posted August 22, 2014 (edited) First of all, thank you for putting all this effort into this workflow. It seems to be just what I'm after. I'm on the Yosemite public beta 2, and I'm very eager to try this workflow, but nothing happens when I try to rename anything. I do: ren (.*)@00_#[1].pdf The preview is totally fine, but when I try to apply the change, nothing happens. I get the following debug: [ERROR: alfred.workflow.action.script] Code 1: 0:59: execution error: System Events got an error: Can’t get property list file "/Users/knut/Library/Application Support/Alfred 2/Workflow Data/com.sztoltz.regexrenamer/settings.plist" of application "System Events". (-1728) Would this be an easy fix? -- KnutFH Edited August 23, 2014 by knutfh Link to comment
Carlos-Sz Posted August 23, 2014 Author Share Posted August 23, 2014 First of all, thank you for putting all this effort into this workflow. It seems to be just what I'm after. I'm on the Yosemite public beta 2, and I'm very eager to try this workflow, but nothing happens when I try to rename anything. I do: ren (.*)@00_#[1].pdf The preview is totally fine, but when I try to apply the change, nothing happens. I get the following debug: [ERROR: alfred.workflow.action.script] Code 1: 0:59: execution error: System Events got an error: Can’t get property list file "/Users/knut/Library/Application Support/Alfred 2/Workflow Data/com.sztoltz.regexrenamer/settings.plist" of application "System Events". (-1728) Would this be an easy fix? -- KnutFH I don’t have Yosemite installed yet but all problems reported so far are basically related to the settings.plist file. It seems it is not being created under Yosemite. Can you please try to add Alfred and AppleScript Editor to Accessibility / Privacy list in Preferences Security & Privacy? Thank you. PS: as soon as Yosemite is available I’ll update my working Mac and check all the issues. Link to comment
knutfh Posted August 23, 2014 Share Posted August 23, 2014 I don’t have Yosemite installed yet but all problems reported so far are basically related to the settings.plist file. It seems it is not being created under Yosemite. Can you please try to add Alfred and AppleScript Editor to Accessibility / Privacy list in Preferences Security & Privacy? Thank you. PS: as soon as Yosemite is available I’ll update my working Mac and check all the issues. Tried to add Alfred to the Privacy list (AppleScript editor was there already), but it didn't do any difference. I'll look forward to Yosemite coming out this fall. Thanks! Link to comment
Carlos-Sz Posted August 23, 2014 Author Share Posted August 23, 2014 Tried to add Alfred to the Privacy list (AppleScript editor was there already), but it didn't do any difference. I'll look forward to Yosemite coming out this fall. Thanks! Can you please try this version? Download Link to comment
knutfh Posted August 23, 2014 Share Posted August 23, 2014 Can you please try this version? Download I most certainly can. The issue still persists. [ERROR: alfred.workflow.action.script] Code 1: 0:65: execution error: System Events got an error: Can’t get property list file "/Users/knut/Library/Application Support/Alfred 2/Workflow Data/com.sztoltz.regexrenamer/settings.plist" of application "System Events". (-1728) Link to comment
Carlos-Sz Posted August 24, 2014 Author Share Posted August 24, 2014 I most certainly can. The issue still persists. [ERROR: alfred.workflow.action.script] Code 1: 0:65: execution error: System Events got an error: Can’t get property list file "/Users/knut/Library/Application Support/Alfred 2/Workflow Data/com.sztoltz.regexrenamer/settings.plist" of application "System Events". (-1728) Yosemite, at least for now, is not creating a new plist file using System Events. The version below changes the approach: Download 3.2 Thank you for your feedback! Link to comment
knutfh Posted August 24, 2014 Share Posted August 24, 2014 Yosemite, at least for now, is not creating a new plist file using System Events. The version below changes the approach: Download 3.2 Thank you for your feedback! Working perfectly. Thank you so much, Carlos! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now