Skip to content

Instantly share code, notes, and snippets.

View platomav's full-sized avatar

Plato Mavropoulos platomav

View GitHub Profile
@platomav
platomav / Binary_Text_Extract.py
Created July 14, 2022 21:10 — forked from williballenthin/strings.py
Extract ASCII and Unicode strings using Python.
#!/usr/bin/env python3
#coding=utf-8
"""
Binary Text Extract
Binary ASCII/Unicode Extractor
Copyright (C) 2021 Plato Mavropoulos
Based on https://gist.github.com/williballenthin/8e3913358a7996eab9b96bd57fc59df2 by Willi Ballenthin
"""
@platomav
platomav / duplicates.py
Last active February 13, 2024 12:26 — forked from ntjess/duplicates.py
Fast duplicate file/link finder (and optionally deleter), for Posix/NT, written in Python 3
#!/usr/bin/env python3
# coding=utf-8
# pylint: disable=C0301,R0902,R0903,R0913,W0703
"""
Fast duplicate file/link finder (and deleter)
Usage: duplicates.py [-h] [-d] [-a HASH_ALGORITHM] [-c CHUNK_SIZE] [-m MAX_SIZE] [-l LOG_LEVEL] [paths ...]
Based on https://stackoverflow.com/a/36113168/300783 by Todor Minakov