Skip to content

Latest commit

 

History

History
73 lines (52 loc) · 1.51 KB

README.md

File metadata and controls

73 lines (52 loc) · 1.51 KB

doublePy

curently only for windows

Drumkits often have the same samples. This script finds duplicates and lets you listen and remove them. Also works with other file types.

Pre dependencies

Installation

git clone https://github.com/3zbumban/doublePy.git
cd doublePy
pip install -r requirements.txt

Usage

python dubPy.py -h
python dubPy.py --help
python dubPy.py -p <"path to folder"> <...> ... -pl -rm -s -td -fl -sf
python dubPy.py --path <"path to folder"> <...> ... --play --remove --strategy --save-file --topdown --links
  • -p / --path: path(s) to folder to scan "I:\example\dir......"
  • -g / --gui: open gui to ask for directory
  • -pl / --play: play file dialog
  • -rm / --remove: move file to trash dialog
  • -s / --strategy: asks user to rerun process after deleting a file
  • -sf / --save-file: saves results to results.txt
  • -td / --topdown: use os.walk(topdown=True)
  • -fl / --links: enables following symlinks

easy use

python dubPy.py -g -pl -rm -s
  • optional: -td -fl -sf
  • dont use with: -p

Find doublicate samples, listen and delete

python dubPy.py -p <"path to folder"> <...> ... -pl -s -rm
  • optional: -td -fl -sf

Find doublicate files (all filetypes)

python dubPy.py -p <"path to folder"> <...> ...
  • optional: -td -fl -sf

Build

pip install pyinstaller
pyinstaller --onefile dubPy.py