Skip to main content

File manager

Project description

filezilla, a CLI tool to manage files

Prerequisite

  • Python>=3.7 and Linux OS.

Build from the Source Code

  • Clone the repository using :-

    $ git clone https://github.com/gaurav61/FileManager.git
    
  • Go to the root of the project

     $ cd FileManager
    
  • Install using

     $ python3 setup.py install
    

Install from PyPI

  • Install using
     $ pip install filezilla
    

Usage

Sort Files

  • Sort files in a directory based on the file extension

     $ filezilla sort <ABSOLUTE_PATH_OF_THE_DIRECTORY> ext
    
  • Sort files in a directory based on the file size

     $ filezilla sort <ABSOLUTE_PATH_OF_THE_DIRECTORY> size
    

Merge PDFs

  • Concatenate multiple PDFs into a single PDF
     $ filezilla merge_pdf <ABSOLUTE_PATH_OF_PDF_1> <ABSOLUTE_PATH_OF_PDF_2> ... <ABSOLUTE_PATH_OF_PDF_N> <ABSOLUTE_PATH_OF_OUTPUT_PDF_FILE>
    

Crop PDF

  • Extract pages from a PDF and create a new PDF of the extracted pages
     $ filezilla crop_pdf <ABSOLUTE_PATH_OF_THE_PDF> --s <STARTING_PAGE_NUMBER> --e <ENDING_PAGE_NUMBER> <ABSOLUTE_PATH_OF_OUTPUT_PDF_FILE>
    
    The above command will create a new PDF and the new PDF will contain all the pages from page number 's' to 'e' both inclusive. If you don't pass 's' in the argument then its default value will be 1 and if you don't pass 'e' in the argument then its default value will be the last page number of the input PDF

Resize Image

  • Resize height and width of the Image
     $ filezilla crop_pdf <ABSOLUTE_PATH_OF_THE_IMAGE> --h <HEIGHT> --w <WIDTH> <ABSOLUTE_PATH_OF_OUTPUT_IMAGE>
    
    The above command will create a new image and the new image will have height as 'h' and width as 'w'. If you don't pass 'h' or 'w' then it will take those values from the original image.

Compress Image

  • Compress an Input Image
     $ filezilla compress_image <ABSOLUTE_PATH_OF_THE_IMAGE> <ABSOLUTE_PATH_OF_OUTPUT_IMAGE>
    

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

filezilla-1.2.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

filezilla-1.2-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file filezilla-1.2.tar.gz.

File metadata

  • Download URL: filezilla-1.2.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.9.0 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.5

File hashes

Hashes for filezilla-1.2.tar.gz
Algorithm Hash digest
SHA256 41d4977d6877df06b00ba9ee7c7a22fc0e8dfa1fe759be0ed1b1a002e2e57bc0
MD5 b93843786e4a2aff1da0ae5dfe3c8c27
BLAKE2b-256 5c4b75981a8d46fccb9f5635f79bc46bbc936396808968e53d275dd853e2ef9b

See more details on using hashes here.

Provenance

File details

Details for the file filezilla-1.2-py3-none-any.whl.

File metadata

  • Download URL: filezilla-1.2-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.9.0 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.5

File hashes

Hashes for filezilla-1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 41d2132efd4e4d5d01bdfb878ce4fdca9f7687d8d5d49d16bbfcce891309482a
MD5 2e7990e6ab1b28e3d0a88919ff302366
BLAKE2b-256 cca3b013a07e9133582223c4c54c0478ea3263d3a8db2f96f81134d9215ac4b4

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page