Differences
This shows you the differences between the selected revisions of the page.
2010-12-11 | 2010-12-11 | ||
no summary (flak) | no summary (flak) | ||
Line 6: | Line 6: | ||
==== Backup a File with current Date & Time ==== | ==== 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 ==== | ==== Rename a File with current Date & Time ==== | ||
- | + | ··mv ! $(echo "!" | sed "s/\..*$//").$(date '+%Y-%m-%d_%H-%M').$(echo ! | awk -F"." '{ print $NF }') | |
- | ''mv ! $(echo "!" | sed "s/\..*$//").$(date '+%Y-%m-%d_%H-%M').$(echo ! | awk -F"." '{ print $NF }')'' | + | ··----------------- |
- | + | ··submitted by Flak | |
- | + | ||
- | + | ||
- | + | ||
- | ---- | + | |
- | submitted by [Flak] | + | |
==== Backup a File with it's Last Modified Date & Time ==== | ==== Backup a File with it's Last Modified Date & Time ==== | ||
+ | mv ! $(echo "!" | sed "s/\..*$//").$(date '+%Y-%m-%d_%H-%M').$(echo ! | awk -F"." '{ print $NF }') | ||
+ | ----------------- | ||
+ | submitted by Flak | ||
==== Rename a File with it's Last Modified Date & Time ==== | ==== Rename a File with it's Last Modified Date & Time ==== | ||
+ | mv ! $(echo "!" | sed "s/\..*$//").$(date '+%Y-%m-%d_%H-%M').$(echo ! | awk -F"." '{ print $NF }') | ||
+ | ----------------- | ||
+ | submitted by Flak | ||
===== Archiving ===== | ===== Archiving ===== |