Differences

This shows you the differences between the selected revisions of the page.

2010-12-11 2010-12-13
no summary (flak) moving Backup & Deleting to the end, removing author signature (login when making changes if you want a credit) (martin)
Line 2: Line 2:
This is list of [[custom_command|custom commands]] that users of WinSCP found useful. You are encouraged to add your own. Also check the [[ui_pref_commands|built-in examples]]. This is list of [[custom_command|custom commands]] that users of WinSCP found useful. You are encouraged to add your own. Also check the [[ui_pref_commands|built-in examples]].
- 
-===== Backup & Deleting ===== 
- 
-==== Backup a File with current Date & Time ==== 
-  cp ! $(echo "!" | sed "s/\..*$//").$(date '+%Y-%m-%d_%H-%M').$(echo ! | awk -F"." '{ print $NF }') 
-  ----------------- 
-  submitted by Flak 
- 
-==== Rename a File with current Date & Time ==== 
-  mv ! $(echo "!" | sed "s/\..*$//").$(date '+%Y-%m-%d_%H-%M').$(echo ! | awk -F"." '{ print $NF }') 
-  ----------------- 
-  submitted by Flak 
===== Archiving ===== ===== Archiving =====
Line 96: Line 84:
Check custom command option //Show results in terminal//. Check custom command option //Show results in terminal//.
 +
 +===== Backup & Deleting =====
 +
 +==== Backup a File with Current Date and Time ====
 +  cp ! $(echo "!" | sed "s/\..*$//").$(date '+%Y-%m-%d_%H-%M').$(echo ! | awk -F"." '{ print $NF }')
 +
 +==== Rename a File with Current Date and Time ====
 +  mv ! $(echo "!" | sed "s/\..*$//").$(date '+%Y-%m-%d_%H-%M').$(echo ! | awk -F"." '{ print $NF }')
 +
 +

Last modified: by martin