Introduction
In this project, you will learn how to copy files from the /etc
directory with a last modified year in 2022 to the /tmp/etc
directory while preserving the directory structure.
ðŊ Tasks
In this project, you will learn:
- How to create a script to automate the file copying process
- How to use the
find
command to search for files based on their last modified date - How to use the
cp
command to copy files while preserving the directory structure
ð Achievements
After completing this project, you will be able to:
- Automate the process of copying files from a specific directory based on their last modified date
- Understand how to use common shell commands like
find
andcp
to manipulate files and directories - Apply your knowledge to solve real-world file management tasks