Hi all EXPERTS
Recently, I used a self custom script to extract a list of file into a folder. Unluckily, the script is encoded in wrong because of the ascii / binary problem. All the line ended with ^M and therefore extract it into a new folder. e.g "extract -xvf xxx.sar -R /abc^M"
By using ls -l, there are two folders with the same name:-
drwxr-xr-x 8 suppt system 4096 Sep 15 23:50 abc
drwxr-xr-x 6 root system 3584 Sep 15 23:51 abc
drwxr-xr-x 8 suppt system 4096 Sep 15 23:50 abc.bak
drwxr-xr-x 11 suppt system 2048 Jun 17 10:45 global
By using ls -l, like this
I wanna to delete the second line folder
"root system 3584 Sep 15 23:51 abc"
Please advice. Thanks in advance.