Collect Files From Specified Time

Beginner

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.

LinuxShell

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 and cp to manipulate files and directories
  • Apply your knowledge to solve real-world file management tasks

Teacher

labby

Labby

Labby is the LabEx teacher.