Home / Linux / CLI Utility Tools

CLI Utility Tools


Apply dos2unix Recursively:
  1. find . -type -f -print0 | xargs -0 dos2unix
Unzip:
  1. unzip [file.zip] -d [path]
Tar:
  1. tar --strip-components=1 -xvf [file.tar.gz]
  2. tar --exclude='/folder1' -zcvf /
Split Zipped Files:
  1. zipsplit -n [size] file.zip
To combine split files:
  1. cat [archive*.zip] > [recombined-archive.zip]
Fix the archive:
  1. zip -FF [recombined-archive.zip] --out [fixed.zip]

    Post a comment

    Your Name or E-mail ID (mandatory)

     

    Note: Your comment will be published after approval of the owner.




     RSS of this page