5

Zip all files in a directory and move to another directory

view full story
linux-howto

http://www.unix.com – Hi, need to zip all files in a directory and move to another directory after the zip.. i am using this one but didnt help me... Code: zip -r my_proj_`date +%Y%m%d%H%MS`.zip /path/my_proj mv in_proj_`date +%Y%m%d%H%M%S`.zip /path/source/ i am trying to zip all the files in my_proj directory with the timestamp appened to it and after the zip trying to move to source directory.. the above code is zipping the files in source also.. please help.. thanks, Siva Santosh (HowTos)