Monthly Archives: February 2014

Bulk file copy in unix with custom name

In Unix I have to copy bulk files from one folder to another they are in below form FILE1_547804_550484_2013-12-19 21.15.32_913.pdfFILE2_518868_616944_2014-01-03 21.10.49_718.pdf but while copying to the destination want to remove time part and copy as below: FILE1_547804_550484.pdfFILE2_518868_616944.pdf

Posted in unix | Tagged , , | Leave a comment

Copy First N files from current directory to other directory

I was working today on one production issue where a requirement came to restore files from a archive directory in batch of 250, so i created this command to run in unix, have a look might be helpful for you.

Posted in unix | Tagged , | Leave a comment