Skip to content

3zbumban/doublePy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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