Hi All my dear friends
I had multiple files in my directory with .pcv and .sqv extn
I want to rename all .pcv files with .pc extn and all .sqv files with .sql extn
Please help me out.
e.g.
/trimsbld/users/dhirens/scripts/newfolder==>ll -rt
total 2856
-rwxr-xr-x 1 dhirens trims 62365 Sep 11 20:01 IF_GetTransacITRRec.pcv
-rwxr-xr-x 1 dhirens trims 159780 Sep 11 20:01 PR_UpdateTableSet.pcv
-rwxr-xr-x 1 dhirens trims 61774 Sep 11 20:01 IF_GetFcmITRRec.pcv
-rwxr-xr-x 1 dhirens trims 33205 Sep 11 20:01 IF_MapFcmITRRecLC.pcv
-rwxr-xr-x 1 dhirens trims 115158 Sep 11 20:01 IF_MapFcmITRRecBill.pcv
-rwxr-xr-x 1 dhirens trims 330971 Sep 11 20:01 IF_GetTransacITRRec.sqv
-rwxr-xr-x 1 dhirens trims 355983 Sep 11 20:01 IF_MapTransacITRRec.sqv
-rwxr-xr-x 1 dhirens trims 36919 Sep 11 20:01 IF_MapTransacITRRecLC.pcv
-rwxr-xr-x 1 dhirens trims 124073 Sep 11 20:01 IF_MapTransacITRRecBill.pcv
-rwxr-xr-x 1 dhirens trims 128078 Sep 11 20:01 PR_UpdBillTables.pcv