forked from tordarus/format
changed bulkrename script to work work with filenames containing single quotation marks
This commit is contained in:
@ -313,7 +313,7 @@ Content:
|
||||
#!/usr/bin/env sh
|
||||
|
||||
if [ "$3" = "exec" ]; then
|
||||
command ls | format -i "$1" -o "mv \"{0}\" \"$2\"" | xargs -0 -P 4 sh -c
|
||||
command ls | format -0 -i "$1" -o "mv \"{0}\" \"$2\"" | xargs -0 -P 4 -I {} sh -c "{}"
|
||||
else
|
||||
command ls | format -i "$1" -o "mv \"{0}\" \"$2\""
|
||||
echo
|
||||
|
Reference in New Issue
Block a user