Skip to content

Instantly share code, notes, and snippets.

@holidayz1
holidayz1 / organize.py
Last active December 16, 2024 04:17 — forked from MalikAbuShabab/organize.py
Script organizing files and dividing them into folders according to their type
#! python3
import os
import shutil
from pathlib import Path
path = Path('~/folder/foo')
absolute_path = path.absolute()