cancel
Showing results for 
Search instead for 
Did you mean: 

I need shell script for removing .PGP extinction

former_member197830
Participant
0 Kudos

Hi All,

I am having a file-to-file scenario without any mapping using an File adapter to File Adapter.


The file that the SFTP adapter picks up is encrypted and has a .pgp file extension, now, the file gets decrypted correctly using the PGPDecryption but the .PGP extension is kept when the the receiving File adapter receives the file.


Can any one help me how to write shell script file code and command ?

Network path example : \\corf001\syscomm$\PI010\test\Archive\


Thank you,

Narasaiah T.

Accepted Solutions (1)

Accepted Solutions (1)

former_member190293
Active Contributor
0 Kudos

Hi Narsaiah!

Unix/Linux:

mv old-file-name new-file-name

Windows:

ren old-file-name new-file-name

Regards, Evgeniy.

Answers (0)