Skip to content

richhinkle/Move-Files-to-Subfolders

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Move Files to Subfolders

This Python script organizes files in a directory by creating a subfolder for each file and moving the file into it.

How to Use

  1. Place the makedirectory.py script into the directory containing the files you want to organize.
  2. Run the script from your terminal:
    python makedirectory.py

Example

If you have a directory with the following files:

- my_document.txt
- another_file.pdf
- image.jpg
- makedirectory.py

After running the script, the directory structure will be:

- my_document/
  - my_document.txt
- another_file/
  - another_file.pdf
- image/
  - image.jpg
- makedirectory.py

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages