The manual is very skimpy on information about how the 'rename' user command works. I would like to create a user command that changes the extension of files.
I regularly get files of type *.png, *.gif, *.bmp, *.jpeg, *.jpg. I would like to rename just the *.jpeg files to *.jpg.
Do I just need to set 'jpeg' in the pattern box and choose 'It's a Set Extension pattern. No preview.'?
Or maybe *.jpeg? Something else?
[Solved] How to create a rename user command
-
Sander Bouwhuis
- Posts: 249
- Joined: 10 Jun 2008 15:40
- Location: Netherlands
[Solved] How to create a rename user command
Last edited by Sander Bouwhuis on 01 Dec 2014 10:04, edited 1 time in total.
(\__/)
(='.'=) This is Bunny. Copy and paste bunny into
(")_(") your signature to help him gain world domination.
(='.'=) This is Bunny. Copy and paste bunny into
(")_(") your signature to help him gain world domination.
-
bdeshi
- Posts: 4256
- Joined: 12 Mar 2014 17:27
- Location: Asteroid B-612
- Contact:
Re: How to create a rename user command
"Set Extension" mode can't filter the selection. IE, it will replace all selected file extensions to jpg, regardless of whether they're jpeg or not.
You're not out of options, though. Add a new rename user command set up like this:
You're not out of options, though. Add a new rename user command set up like this:
Code: Select all
CAPTION : JPEG -> JPG
PATTERN : (.*)\.jpeg$ > $1.jpg
TYPE : It's a Regular Expression. Show preview.Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
-
Sander Bouwhuis
- Posts: 249
- Joined: 10 Jun 2008 15:40
- Location: Netherlands
Re: How to create a rename user command
Wow, that's great! This is exactly what I needed!!!
Biiiiiiiiiiiiiiiiiiiiig thanks for helping Mr Sarkar!
Biiiiiiiiiiiiiiiiiiiiig thanks for helping Mr Sarkar!
(\__/)
(='.'=) This is Bunny. Copy and paste bunny into
(")_(") your signature to help him gain world domination.
(='.'=) This is Bunny. Copy and paste bunny into
(")_(") your signature to help him gain world domination.
-
kunkel321
- Posts: 664
- Joined: 10 Jun 2012 03:45
- Location: Near Seattle
Re: [Solved] How to create a rename user command
Sorry for being ignorant and naive, but I must know, is, "iycgtptyarvg" actually something that can be pronounced in some other language, or is it an acronym? Or just a random string of letters?
ste(phen|ve) kunkel
Scaling: Main monitor 125%, Secondary monitor on the right 100%
OS: Win 10. XYplorer version: Latest beta, unless specified.
Scaling: Main monitor 125%, Secondary monitor on the right 100%
OS: Win 10. XYplorer version: Latest beta, unless specified.
-
Sander Bouwhuis
- Posts: 249
- Joined: 10 Jun 2008 15:40
- Location: Netherlands
Re: [Solved] How to create a rename user command
It was my very first password when I went to university (in the '90s).
It means: "If You Can Guess This Password Then You Are Really Very Good".
Aaaaaaaaaah, the time that even passwords like "1234" were accepted.
It means: "If You Can Guess This Password Then You Are Really Very Good".
Aaaaaaaaaah, the time that even passwords like "1234" were accepted.
(\__/)
(='.'=) This is Bunny. Copy and paste bunny into
(")_(") your signature to help him gain world domination.
(='.'=) This is Bunny. Copy and paste bunny into
(")_(") your signature to help him gain world domination.
-
bdeshi
- Posts: 4256
- Joined: 12 Mar 2014 17:27
- Location: Asteroid B-612
- Contact:
Re: [Solved] How to create a rename user command
At least I had some vocal exercise trying to pronounce it.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
-
Sander Bouwhuis
- Posts: 249
- Joined: 10 Jun 2008 15:40
- Location: Netherlands
Re: [Solved] How to create a rename user command
In space no one can hear you gurgle!
(your location says 'asteroid').
(your location says 'asteroid').
(\__/)
(='.'=) This is Bunny. Copy and paste bunny into
(")_(") your signature to help him gain world domination.
(='.'=) This is Bunny. Copy and paste bunny into
(")_(") your signature to help him gain world domination.
XYplorer Beta Club