in reply to remove tilda from filenames with 1 liner

2 seconds later: for i in $(ls|sed -n 's/\(.*\)~$/\1/p');do mv $i~ $i;done done
  • Comment on Re: remove tilda from filenames with 1 liner