going bananas trying to rename file with multiple extensions

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

Hello, how can I rename the following file (a standard google calendar backup file):
jimlorin@gmail.com.ical.zip
to
jimlorin@gmail.com [date created placeholder].ical.zip
thanks in advance for your time and help
dorindon
 
Posts: 17
Joined: Tue Jan 09, 2018 4:16 am

You will probably need to use match patterns and create a custom attribute to match everything up to the .ical part.
Mr_Noodle
Site Admin
 
Posts: 11324
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Hello., the following does not work

jimlorin@gmail % abc % abc % abc

Rename with pattern:

name [date created].zip

thank you
dorindon
 
Posts: 17
Joined: Tue Jan 09, 2018 4:16 am

I don't see a custom attribute being used. (name) is the whole name before the extension so not suitable for what you want.
Mr_Noodle
Site Admin
 
Posts: 11324
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support

cron