dot/.config/fish/functions/phil-fix-names.fish

4 lines
272 B
Fish
Raw Normal View History

2023-04-15 17:20:42 +02:00
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