bengr Posted March 31, 2013 Share Posted March 31, 2013 Hey, I suggested this feature back in v1 already, but thought of maybe suggesting it again, hoping it would be added to Alfred 2 sometime. From the file action menu there's no option to rename a file. I can't think it would be that hard to incorporate into Alfred in a nice fashion. This can be done in a workflow I believe, but it would be made in a really "ugly" fashion (like the color labeling workflow here, which re-invokes Alfred after the action is selected), and it's such a useful thing that I think it should be a part of Alfred itself. Please add this to Alfred. Thanks, Ben mklement0 1 Link to comment Share on other sites More sharing options...
Ddyracer Posted March 31, 2013 Share Posted March 31, 2013 Hey, I suggested this feature back in v1 already, but thought of maybe suggesting it again, hoping it would be added to Alfred 2 sometime. From the file action menu there's no option to rename a file. I can't think it would be that hard to incorporate into Alfred in a nice fashion. This can be done in a workflow I believe, but it would be made in a really "ugly" fashion (like the color labeling workflow here, which re-invokes Alfred after the action is selected), and it's such a useful thing that I think it should be a part of Alfred itself. Please add this to Alfred. Thanks, Ben I was just thinking about this. Would be lovely, I wish alfred was a replacement for Finder sometimes and it is to a extent. Link to comment Share on other sites More sharing options...
jdfwarrior Posted April 1, 2013 Share Posted April 1, 2013 I was just thinking about this. Would be lovely, I wish alfred was a replacement for Finder sometimes and it is to a extent. This could be accomplished with a workflow for now. Link to comment Share on other sites More sharing options...
Ddyracer Posted April 1, 2013 Share Posted April 1, 2013 This could be accomplished with a workflow for now. Link? Link to comment Share on other sites More sharing options...
jdfwarrior Posted April 1, 2013 Share Posted April 1, 2013 Link? I didn't have one made, I said it was possible. I made a really quick cut at one. It should work. Seemed fine during my very quick testing... Download Link to comment Share on other sites More sharing options...
Ddyracer Posted April 1, 2013 Share Posted April 1, 2013 I didn't have one made, I said it was possible. I made a really quick cut at one. It should work. Seemed fine during my very quick testing... Download Well, it works for pdf's and pngs. No file icon except blank white, and it doesn't seem to work in .pages files. Not bad though thx! Link to comment Share on other sites More sharing options...
bengr Posted April 1, 2013 Author Share Posted April 1, 2013 This could be accomplished with a workflow for now. This could be made in a workflow, like most other stuff in Alfred to be honest (but that's just because the workflows are such a powerful thing in Alfred), but it's such a core thing that it should be integrated into Alfred itself. Hell, it shouldn't even be a Powerpack feature. You can say the same thing on the calculator, custom searches, Terminal execution, file search etc. The list just goes on and on (and if I'm not mistaken, Andrew said once on Twitter that every feature in Alfred 2 is essentially made by a workflow), but that doesn't mean that you shouldn't integrate stuff into Alfred itself. Core thing should come out of the box, and more so when executing them in Alfred itself (integrated rather in a user-made workflow) would be a lot nicer and less "hack-ish". This is a great example - to rename a file using a workflow, you have to re-invoke Alfred after the file action (unless you do it in an AppleScript, which can pop up a message box with a textbox in it etc), but that feels really hack-y to me. Link to comment Share on other sites More sharing options...
jdfwarrior Posted April 1, 2013 Share Posted April 1, 2013 Well, it works for pdf's and pngs. No file icon except blank white, and it doesn't seem to work in .pages files. Not bad though thx! I don't see why it wouldn't work with .pages... under the hood its just doing a 'cp' and then removing the original. I guess technically it COULD have done a 'mv' instead but, it should work for any file. It could be modified to handle folders as well. As I said, this wasn't something I had made and waiting. It was something quickly thrown together. Link to comment Share on other sites More sharing options...
Ddyracer Posted April 1, 2013 Share Posted April 1, 2013 I don't see why it wouldn't work with .pages... under the hood its just doing a 'cp' and then removing the original. I guess technically it COULD have done a 'mv' instead but, it should work for any file. It could be modified to handle folders as well. As I said, this wasn't something I had made and waiting. It was something quickly thrown together. Yes, i know ole chap i appreciate it, just thought i would let you know. Link to comment Share on other sites More sharing options...
CarlosNZ Posted April 1, 2013 Share Posted April 1, 2013 I don't see why it wouldn't work with .pages... under the hood its just doing a 'cp' and then removing the original. I guess technically it COULD have done a 'mv' instead but, it should work for any file. It could be modified to handle folders as well. As I said, this wasn't something I had made and waiting. It was something quickly thrown together. Yeah, it's a folder thing. .pages documents are actually bundles. Link to comment Share on other sites More sharing options...
oderwat Posted April 3, 2013 Share Posted April 3, 2013 OK.. I enhanced the quick version of David a bit: 1. It uses "mv" instead of copy / remove. This way it will work on folders (and bundles) and keeps its attributes (could add a touch to bump the date though). 2. I made it so that the original name is shown when you rename a file! https://github.com/oderwat/alfredworkflows/raw/master/Rename%20File.alfredworkflow P.S.: I make it update able with Alleyoop and may enhance it further.. if you want it back David just tell me! Link to comment Share on other sites More sharing options...
Ddyracer Posted April 3, 2013 Share Posted April 3, 2013 OK.. I enhanced the quick version of David a bit: 1. It uses "mv" instead of copy / remove. This way it will work on folders (and bundles) and keeps its attributes (could add a touch to bump the date though). 2. I made it so that the original name is shown when you rename a file! https://github.com/oderwat/alfredworkflows/raw/master/Rename%20File.alfredworkflow P.S.: I make it update able with Alleyoop and may enhance it further.. if you want it back David just tell me! Doesn't work with folders. Link to comment Share on other sites More sharing options...
oderwat Posted April 3, 2013 Share Posted April 3, 2013 Doesn't work with folders. It does for me... so what exactly did you do? Link to comment Share on other sites More sharing options...
Ddyracer Posted April 3, 2013 Share Posted April 3, 2013 (edited) It does for me... so what exactly did you do? Nevermind, i am an idiot, got it to work. Edited April 3, 2013 by Ddyracer Link to comment Share on other sites More sharing options...
wangyijie Posted April 8, 2017 Share Posted April 8, 2017 I have to say I'm experiencing the same thing here. It'd be absolutely helpful if we had a rename function in the action list. Please Alfred Team, please put some consideration in it. Link to comment Share on other sites More sharing options...
CageD Posted April 1, 2022 Share Posted April 1, 2022 First of all, thanks for all your efforts to get this far. Maybe i'm missing something but how can i use this to rename multiple files at once? Link to comment Share on other sites More sharing options...
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