sri
September 7, 2009, 1:28pm
1
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.
Leo
September 7, 2009, 2:27pm
2
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?
sri
September 7, 2009, 8:13pm
4
Copy FILE {file$} AS "{file$|noext} - {date|yyyy-MM-dd} {time|h.mm tt}{file$|ext}"
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!