Copy selected items and paste by appending current date

I want to be able to copy the selected files and folders in a lister and by a single button click, paste in the same lister with the current date and time appended to the file/folder names.

Appreciate if anyone can kindly provide the xml code to paste a button which does this in toolbar.

If you want the date/time put on the end (after any file extension):

Copy HERE AS "* - {date|yyyy-MM-dd} {time|HH-mm-ss}"

Or if you want to keep the file extensions (if any) at the end where they belong:

Copy HERE FILE {file$} AS "{file$|noext} - {date|yyyy-MM-dd} {time|HH-mm-ss}{file$|ext}"

Both buttons do everything in a single click. No need to copy and then paste; just select the files you want to duplicate and click the button.

How about being able to copy and paste into the other lister in dual pane?

Copy FILE {file$} AS "{file$|noext} - {date|yyyy-MM-dd} {time|h.mm tt}{file$|ext}"

Excellent! Thanks :smiley:

Copy FILE {file$} AS "{file$|noext} - {date|yyyy-MM-dd} {time|h.mm tt}{file$|ext}"

I changed the date to read 'dd-MM-yyyy' (non US) and for the time 'HH:mm' for 24 hour clock, I hope you don't mind!