Skip to content

yasharya2901/pdf_compressor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

pdf_compressor

Overview

This uses Ghostscript to compress a PDF file.

How to use this shell script?

  • Download the compressor.sh file.
  • Open the Terminal and navigate to the directory where the compressor.sh file is located.
  • Run the command chmod u+x compressor.sh to give the file execute permission.
  • To compress a file, run the command ./compressor.sh in the Terminal.
  • The script will open a GUI asking for the location of the file that you want to compress.
  • After you select the file, the script will compress the file and save it in the same location with the word ‘compressed’ added to the end of the file name.

System Dependencies

  • Ghostscript
  • Zenity

About

This uses ghostscript to compress a pdf file.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages