Skip to main content

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>
    

Metadata

Release files for filezilla 1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for filezilla 1.2
File Size Uploaded
filezilla-1.2.tar.gz 3.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for filezilla 1.2
File Interpreter ABI Platform
filezilla-1.2-py3-none-any.whl Python 3 none any Details

Total release size: 8.3 kB

Release files / filezilla-1.2.tar.gz

Download URL filezilla-1.2.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
41d4977d6877df06b00ba9ee7c7a22fc0e8dfa1fe759be0ed1b1a002e2e57bc0
BLAKE2b-256 checksum
How to use checksums
5c4b75981a8d46fccb9f5635f79bc46bbc936396808968e53d275dd853e2ef9b
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / filezilla-1.2-py3-none-any.whl

Download URL filezilla-1.2-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
41d2132efd4e4d5d01bdfb878ce4fdca9f7687d8d5d49d16bbfcce891309482a
BLAKE2b-256 checksum
How to use checksums
cca3b013a07e9133582223c4c54c0478ea3263d3a8db2f96f81134d9215ac4b4
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1.2 This release

2 release files

1.1

2 release files

1.0

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page