dot/.config/fish/functions/phil-fix-names.fish
2023-04-15 17:20:42 +02:00

3 lines
272 B
Fish

function phil-fix-names --wraps=perl-rename\ \'y/A-Z/a-z/\'\ \*\ \&\&\ perl-rename\ \'y/\ /-/\'\ \* --description alias\ phil-fix-names\ perl-rename\ \'y/A-Z/a-z/\'\ \*\ \&\&\ perl-rename\ \'y/\ /-/\'\ \*
perl-rename 'y/A-Z/a-z/' * && perl-rename 'y/ /-/' * $argv;
end