Giter Site home page Giter Site logo

gopro-lrv-thm-cleaner's Introduction

GoProLRVTHM Cleaner

A simple utility script to delete .THM and .LRV files from GoPro camera folders to free up space. This script can be run directly in Python or as an executable to quickly clean up specified directories or the directory it resides in.

Description

GoPro cameras create .THM and .LRV files for thumbnails and low-resolution previews of videos. While useful for some, these files can take up unnecessary space. goprolrvthm.py is a Python script that automates the deletion of these files from specified folders or the folder where the script (or its executable) is located.

Installation

Prerequisites

  • Python 3.x installed on your machine.

Steps

  1. Clone the repository or download the goprolrvthm.py script directly.
    git clone https://github.com/konashevich/GoPro-LRV-THM-Cleaner.git
    
  2. (Optional) Convert the script to an executable using PyInstaller for ease of use without Python:
    pip install pyinstaller
    pyinstaller --onefile goprolrvthm.py
    

Usage

As a Python Script

Run the script in a terminal or command prompt:

python goprolrvthm.py [folder_path]

If [folder_path] is not provided, the script will operate in the directory it's located in.

As an Executable

After converting to an executable:

./goprolrvthm.exe [folder_path]

Download exe file from dist folder, make use of the bat example as well.

With a Batch File

Create a .bat file to run the executable with a predefined path:

path\to\goprolrvthm.exe "F:\DCIM\100GOPRO"

Contributing

Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Hit STAR to this project
  2. Fork the Project
  3. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  4. Commit your Changes (git commit -m 'Add some AmazingFeature')
  5. Push to the Branch (git push origin feature/AmazingFeature)
  6. Open a Pull Request

License

Distributed under the APACHE 2.0 License. See LICENSE for more information.

gopro-lrv-thm-cleaner's People

Contributors

konashevich avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.