Skip to main content

Renames .jpeg files to .jpg because I really don't like that file extension.

Project description

fuckjpeg

Renames .jpeg files to .jpg because I really don't like that file extension.

Usage

Usage: fuckjpeg [OPTIONS] PATH

  Renames files with .jpeg to .jpg because fuck that.

  You can supply a filename or a directory, and if it's a directory it'll do
  all the files.

Options:
  -o, --overwrite                 Ignore existing files and overwrite them.
  -r, --recursive                 Set this and supply a path, recursively
                                  apply the fun. Use with caution, obviously.
  -l, --log-level [debug|info|warn]
                                  Set logging level
  --help                          Show this message and exit.

Version History

  • 0.0.1 - Original release.
  • 0.0.2 - Bumped version number after running black and updated readme.
  • 0.0.3 - Fixed some logic errors and duplicate work, refuses to engage with mac *.photoslibrary dirs.
  • 0.0.4 - Updated docstring for module because I missed that in testing.

Development

Using flit for packaging, seems neat.

virtualenv venv
source venv/bin/activate
python3 -m pip install --upgrade pip flit
flit install --deps develop
flit build

Testing

mypy fuckjpeg
pylint fuckjpeg
python3 -m fuckjpeg -n -r -o -l debug ~/Downloads

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

fuckjpeg-0.0.4.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

fuckjpeg-0.0.4-py2.py3-none-any.whl (4.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file fuckjpeg-0.0.4.tar.gz.

File metadata

  • Download URL: fuckjpeg-0.0.4.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.26.0

File hashes

Hashes for fuckjpeg-0.0.4.tar.gz
Algorithm Hash digest
SHA256 72638010bd50e0cf037751033816473312b310569e8fb363fed377cfe47ed324
MD5 9a0916c1b55c335c2a03eadc455a5b95
BLAKE2b-256 f7684675baf6218a543efa760b73e71ee0708fcf4653f8f92ebf4fc4a7dd69a5

See more details on using hashes here.

File details

Details for the file fuckjpeg-0.0.4-py2.py3-none-any.whl.

File metadata

  • Download URL: fuckjpeg-0.0.4-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.26.0

File hashes

Hashes for fuckjpeg-0.0.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8ec2e2a32eda0ec6952855aa5283839a9411b251efa462a5bf421241ac7513b3
MD5 0e0e869b0421011349c44bd4c4600c33
BLAKE2b-256 40b4a59e215c69671c912b2c41e4676096cd9bb7f320d43f4080dc896a211b41

See more details on using hashes here.

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