Skip to content

Instantly share code, notes, and snippets.

@Steve-V
Steve-V / randomfilerenamer.py
Created November 14, 2019 17:05 — forked from rickowski/randomfilerenamer.py
Python script to rename every file in a given folder to a random name, including the original file extension.
#!/usr/bin/python3
# Copyright © 2015 Ole Rickowski
# This work is free. You can redistribute it and/or modify it under the
# terms of the Do What The Fuck You Want To Public License, Version 2,
# as published by Sam Hocevar. See http://www.wtfpl.net/ for more details.
import os,sys,random,string
# Print help