File and Directory Management
Tasks
- Organize a given set of files and directories into a structured project layout.
- Use
cp
, mv
, and rm
commands to achieve the desired structure.
Requirements
- Start in the
~/project
directory.
- Use only the
cp
, mv
, and rm
commands for file operations.
- You may use
ls
, pwd
, and cd
to navigate and verify your progress.
- All commands must be executed in the terminal.
- Create a
src
and a config
directory to organize the files.
Initial Structure
Your ~/project
directory initially contains the following:
project/
├── old_stuff/
│ ├── deprecated_script.sh
│ └── outdated_notes.txt
├── temp/
│ ├── draft_readme.md
│ └── config_backup.json
├── app.js
├── styles.css
└── data.json
Target Structure
Your goal is to achieve the following structure:
project/
├── src/
│ ├── app.js
│ └── styles.css
├── config/
│ └── config.json
└── README.md
Remember, your task is to achieve the target structure using cp
, mv
, and rm
commands. Use ls
and pwd
to check your progress as needed.