>
> Hi All,
>
> I have 1444 files I've recovered using the undelfs in Midnight Commander.
>
> The file names are in inode format, something like: 123456:1.
>
> I would like to rename them all at once and just remove the :x part, i.e.:
> 123456.
> Any util available?
>
> Thanks.
>
> Amichai.
>
if you are using a bash or zsh or I don't know what else, try
for f in * ; do; mv -i $f ${f%%:*} ; done
This assume you have all your file in the current directory, and you wish to
keep them there, with their new names.
And you may prefere to so a backup before this.
Dan.
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]