Warning: Undefined array key "rcommentid" in /homepages/15/d790331382/htdocs/wp-content/plugins/wp-recaptcha/recaptcha.php on line 481

Warning: Undefined array key "rchash" in /homepages/15/d790331382/htdocs/wp-content/plugins/wp-recaptcha/recaptcha.php on line 482

copy/move files to similar names


Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in /homepages/15/d790331382/htdocs/wp-content/plugins/wp-syntax/wp-syntax.php on line 383

when you want to copy or move files to slightly different names (e.g. replacing only one letter in the filename), you can use

1
for i in `ls *`; do cp $i `echo $i | sed "s/search/replace/g"`; done

found on http://www.minihowtos.net/copy-and-rename-multiple-files

Leave a Reply


Warning: Undefined variable $user_ID in /homepages/15/d790331382/htdocs/wp-content/themes/thamnos/comments.php on line 65


Warning: Undefined array key "rerror" in /homepages/15/d790331382/htdocs/wp-content/plugins/wp-recaptcha/recaptcha.php on line 401