IBM i Global

IBM i 

A space for professionals working with IBM’s integrated OS for Power systems to exchange ideas, ask questions, and share expertise on topics like RPG and COBOL development, application modernization, open source integration, system administration, and business continuity.


#Power


#IBMi
#Power
 View Only
  • 1.  Archive file with password

    Posted Wed May 01, 2024 02:12 PM

    Hello,

    I want to create archive file with password protected on v7r4 using QSh commands. Currently I am creating file with jar -cfM command. 

    I have also installed 7zip for testing however it's performance is not good compared to jar command output. Can you please provide some suggestions. 

    Thank you!



    ------------------------------
    Ujwala Kavathekar
    ------------------------------


  • 2.  RE: Archive file with password

    Posted Wed May 01, 2024 02:59 PM

    yum install zip
    zip --encrypt [--option --option ...] archivename filespecs ...



    ------------------------------
    Jack Woehr
    ------------------------------



  • 3.  RE: Archive file with password

    Posted Fri May 03, 2024 02:36 PM

    Thank you for you response! 



    ------------------------------
    Ujwala Kavathekar
    ------------------------------