Daily bits of tech wisom
Tuesday, 20 March 2012
Append date timestamp to a file in linux:
cp filename filename.$(date +%Y-%m-%d)
This is useful when backing up a file before making modifications...
No comments:
Post a Comment
Newer Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment