perl -e 'opendir(D,".");for (grep /~$/, readdir D){s/~$//;rename("$_~" +,"$_");}'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: remove tilda from filenames with 1 liner
by japhy (Canon) on Jan 22, 2002 at 02:47 UTC | |
by screamingeagle (Curate) on Jan 22, 2002 at 23:02 UTC | |
by gav^ (Curate) on Jan 22, 2002 at 06:57 UTC | |
by japhy (Canon) on Jan 22, 2002 at 07:22 UTC | |
|
Re: remove tilda from filenames with 1 liner
by Anonymous Monk on Jan 23, 2002 at 00:14 UTC | |
|
Re: remove tilda from filenames with 1 liner
by fundflow (Chaplain) on Feb 11, 2002 at 16:30 UTC |