Error message

Deprecated function: implode(): Passing glue string after array is deprecated. Swap the parameters in drupal_get_feeds() (line 394 of /var/www/drupal/includes/common.inc).

ubuntu cmd

Renaming multiple files at a time

This command took me 20 minutes to find. Let's hope that this helps someone and me next time I need to do something similar.

find . -name '*foo*' -type f -exec bash -c 'mv "$1" "${1/foo/bar}"' -- {} \;

Tags: 
Subscribe to RSS - ubuntu cmd