Here are several of my BASH commands collection related to looping which I frequently used. This list will be always updated for reference and knowledge base.
1. Copy .htaccess file under /home/website1/public_html to all directories and sub-directories under /home/website2/public_html excluding .svn directories:
cd /home/website2/public_html for i in $(find -type d | egrep -v .svn); do cp [...]
- Steven Spielberg Working on Live-Action Halo Series for Xbox - Wired 21 May 2013
- Road test: 2009 Honda Civic - Driving.ca - driving.ca 21 May 2013
- The New Flickr Is Pretty, but Is It Social? - New York Times (blog) 21 May 2013
- Eminem's publisher sues Facebook - Irish Independent 21 May 2013
- Next generation gaming: Xbox One launch features first glimpse of Call of Duty ... - Mirror.co.uk 21 May 2013