How to zip a file and save it in another directory

Follow below mentioned command

zip -r (name your zip) (the name of the copied file)

zip -r /path/to/save/destination_folder.zip /path/to/folder
  • /path/to/folder - path use to your source folder
  • /path/to/save/destination_folder.zip - path to save another destination

Follow our Site to Know More about Programming Tricks

ayschools.com

Thank You…