Copy Large Files with Preserved Structure

Beginner

In this project, you will learn how to copy files larger than 10K from the `/etc` directory to the `/tmp/etc` directory, preserving the directory structure. This is a useful skill for managing and organizing files on a Linux system.

LinuxShell

Introduction

In this project, you will learn how to copy files larger than 10K from the /etc directory to the /tmp/etc directory, preserving the directory structure. This is a useful skill for managing and organizing files on a Linux system.

ðŸŽŊ Tasks

In this project, you will learn:

  • How to create a script to copy files based on size
  • How to use the find command to locate files that meet specific criteria
  • How to preserve the directory structure when copying files
  • How to run a script with elevated privileges using sudo

🏆 Achievements

After completing this project, you will be able to:

  • Automate the process of copying files based on size
  • Maintain the directory structure when copying files
  • Use the find command effectively to locate files that meet specific criteria
  • Run scripts with elevated privileges to access protected files and directories

Teacher

labby

Labby

Labby is the LabEx teacher.