Skip to main content

make-folders-by-date

· One min read

Here’s your beginner-friendly blog post for creating folders by date using the terminal:


/blog/make-folders-by-date.md#

---slug: make-folders-by-datetitle: How to Create Folders by Date from the Terminalauthor: Frádely Dilonétags: [organize, terminal, beginner]---
Want to stay organized? Here’s how to automatically create folders with today’s date and move your files into them.
---
### 🗂 Step 1: Create a folder with today’s date
```bashmkdir $(date +%Y-%m-%d)

This creates a folder like:

2025-04-18

📁 Step 2: Move files into that folder#

Example: move all .jpg files from your current folder:

mv *.jpg $(date +%Y-%m-%d)/

You can replace *.jpg with any file type — like *.pdf or *.txt.


✅ Great for:

  • Grouping downloads by day
  • Organizing screenshots
  • Keeping backups clean