Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions Arrange It/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ With the help of this script, files can be moved automatically to the folder tha
## New Feature: Custom Folder Configuration

-Now, you can customize how files are arranged by defining your own folder structure and file extensions using a config.json file. This allows for more flexibility without needing to modify the Python code itself.
python arrangeit.py
`python arrangeit.py`

# How To Use the config.json File

Expand All @@ -14,28 +14,33 @@ python arrangeit.py

Example config.json:

```bash
{
"Programming Files": ["ipynb", "py", "java", "cs", "js"],
"Music": ["mp3", "wav", "aac"],
"Videos": ["mp4", "mkv", "avi"],
"Pictures": ["jpeg", "png", "gif"],
"Documents": ["pdf", "docx", "xlsx"]
}
```

# How To Run

Put the script and the config.json file in the folder where you want to automatically move the files.

Run the following command from the terminal:

```bash
python arrangeit.py

```

The script will create folders and move files based on the folder-extension mappings in the config.json file.


# Benefits

Customizable: Easily modify the config.json file to tailor the organization to your preferences.
User-Friendly: No need to modify Python code—just update the config.json file.
Scalable: Works with different folder structures for different use cases.
**Customizable:** Easily modify the config.json file to tailor the organization to your preferences.

**User-Friendly:** No need to modify Python code—just update the config.json file.

**Scalable:** Works with different folder structures for different use cases.