Basic Batch Rename
Standard ZIP Compression
Image Format Conversion
Path Copying Tools
Got 'em and since perl comes with the OS, this batch rename is my "go to" tool. $ more ren
#!/usr/bin/env perl
# Tom Christiansen <tchrist at convex.com>, in alt.sources, 90-12-08.
# Modified by Fran?ois Pinard <pinard at iro.umontreal.ca>, 91-04-19.
#
# rename script examples from lwall:
# rename 's/\.orig$//' *.orig
# rename 'y/A-Z/a-z/ unless /^Make/' *
# rename '$_ .= ".bad"' *.f
# rename 'print "$_: "; s/foo/bar/ if <stdin> =~ /^y/i' *
$operation = shift;
for (@ARGV)
{
$previous = $_;
eval $operation;
die $@ if $@;
if ($previous ne $_)
{
if (-f $_)
{
warn "$0: $_ already exists\n";
}
dchest•1h ago