?

Log in

No account? Create an account

Previous Entry | Next Entry

Take a .bak of all my .txt files, please.

Method 1:
[jsaikia] ~/prac/blog $ find patch/ -name *.txt -type f -print -exec cp {} {}.bak \;

Method 2:
[jsaikia] ~/prac/blog $ find patch/ -name *.txt -type f -print | while read file
> do
> cp $file $file.bak
> done

Profile

jaduks
Jadu Kumar Saikia

Latest Month

January 2008
S M T W T F S
  12345
6789101112
13141516171819
20212223242526
2728293031  
Powered by LiveJournal.com
Designed by chasethestars