find ./ -name '*.html' -or -name '*.php' \ -print0 | xargs -0 svn propset svn:keywords Id
edit: quick correction, thanks Lukas
Not strictly just Linux, but meh. What you gonna do
find ./ -name '*.html' -or -name '*.php' \ -print0 | xargs -0 svn propset svn:keywords Id
edit: quick correction, thanks Lukas
virt-install --name=mysql --ram=512 --vcpus=1 \ --file=/dev/mapper/CC-xen--mysql \ --paravirt \ --location=http://rich-desktop/Centos_5/
find . -type f | xargs sed -c -ibak 's/search/replace/'
find . -type f | xargs perl -pi~ -e 's/s_show_nofity/s_show_notify/g;'
for i in *.tif; do convert blank320x240.png $i -auto-orient -resize 320x240 \ -colorspace RGB -compose Src -gravity center -composite $i.jpg; done
#find all files under /dir older than 7 days, and delete find /dir -type f -mtime +7 | xargs rm -f #find all files newer than FILE, and delete find /dir -type f -newer /path/to/FILE -exec rm \{\} \; #find all files older than 10 minutes, and print names(print is default) find /dir -type f -mmin +10 -print #find all files newer than 1 day, and tar them to file.tar find /dir -type f -mtime -1 | tar -c -T - -f file.tar
Recent Comments