Sunday, March 21, 2010

Create a linux job to delete zip files 3 days old

find /var/www/html/*.zip -mtime +3 -exec rm {} \;

Monday, March 15, 2010

ignore eclipse project files in git

place .gitignore in your eclipse project with these parameters

.settings
.project
.buildpath
.gitignore

Wednesday, March 3, 2010

Recursivly copy files linux

find . -type f -name \*.eps -exec cp \{\} \;