Jump to content
bengr

Add a "Rename" action to the file action list

Recommended Posts

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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!

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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!

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...