Differences

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

2021-02-04 2022-05-04
Recursively Changing Permissions (martin) Added warning about partial loss of filename for names that contain multiple dots. (76.167.224.130)
Line 172: Line 172:
cp ! $(echo "!" | sed "s/\..*$//").$(date '+%Y-%m-%d_%H-%M').$(echo ! | awk -F"." '{ print $NF }') cp ! $(echo "!" | sed "s/\..*$//").$(date '+%Y-%m-%d_%H-%M').$(echo ! | awk -F"." '{ print $NF }')
</code> </code>
 +Note that you will lose a portion of the file name for files with multiple dots ( **.'s** ).
==== Rename a File with Current Date and Time ==== ==== Rename a File with Current Date and Time ====

Last modified: by 76.167.224.130