Posterous

various ramblings

-- justin kelly

Filed underlink

See all posts on Posterous with this tag »

justin kelly


   
justin kelly's profile »

Tags

  • linux (24)
  • simple invoices (16)
  • chrome (10)
  • bash (9)
  • google (8)
  • php (7)
  • centos (5)
  • ubuntu (5)
  • apache (4)
  • google apps (4)
  • View all 38 tags »
  • mysql (4)
  • shell (4)
  • svn (4)
  • dns (3)
  • perl (3)
  • pinboard.in (3)
  • project (3)
  • random (3)
  • vps (3)
  • bespin (2)
  • dropbox (2)
  • exlibris (2)
  • extensions (2)
  • gnu_screen (2)
  • hardware (2)
  • jquery (2)
  • media (2)
  • mongo (2)
  • posterous (2)
  • vi (2)
  • aleph (1)
  • json (1)
  • link (1)
  • netgear (1)
  • oracle (1)
  • rails (1)
  • redmine (1)
  • zend_framework (1)
Subscribe to this posterous »
Unsubscribe »
Loading...
June 23, 2010

How to: copy file and append current date in linux/bash

  • Edit
  • Delete
  • Autopost

$ ls

somefile_file.jsp 

$ cp somefile_file.jsp{,.`date +%Y%m%d`}

$ ls

somefile_file.jsp somefile_file.jsp.20100624 

Filed under  //

  • bash
  • link

Comments [0]