in reply to Re: remove tilda from filenames with 1 liner
in thread remove tilda from filenames with 1 liner

correct me if I'm wrong, but shouldnt the last part of your example be :
rename "$_~" => $_
instead of
rename $_ => "$_~"