Perl Search and Replace One-liner with xargs -0

/ Published in: Bash
Save to your folder(s)

\Q...\E perl quoting means no ugly escaping in the regex. find's -print0 with xargs -0 is the secret to handling files with spaces in their names.

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.