Back to Browse

File & Directory Management in Bash - 12 Bash Scripts

720 views
Premiered Oct 15, 2025
34:37

In this video, I’ll walk you through 12 Bash scripts that simplify file and directory management. (02:30) 1- Identify & list files and directories (06:45) 2- Create a directory if it doesn’t exist (09:52) 3- Create multiple directories at once (12:23) 4- Copy files of a certain type to a backup folder (16:36) 5- Bulk rename file extensions (19:22) 6- Delete files older than 7 days (23:20) 7- Check if a file exists & report permissions (25:27) 8- Count files and directories separately (27:50) 9- Find the largest file in a directory (29:05) 10- Calculate total directory size (30:26) 11- Find empty files & directories (32:14) 12- Backup a file with a timestamp 💬 Have questions? Drop them in the comments, I reply to everyone who’s serious about mastering Linux. ----------------------------------------- 🌐 Our Linux Ecosystem ----------------------------------------- Our 3 Linux Websites: ➜ LinuxHint.com ➜ LinuxGenie.net ➜ ItsLinuxFoss.com Connect with LinuxHint: ➜ YouTube: https://www.youtube.com/@linuxhint ➜ X (Twitter): https://x.com/LinuxHintTeam ➜ LinkedIn: https://www.linkedin.com/company/109168388 👉 Download Free Linux Mastery PDF (20-Minute Guide): https://freepdf.linuxhint.com/20minutes 📅 Subscribe for More Linux Tutorials: We post new Linux, Bash, and DevOps videos every week. Hit Subscribe and turn on the 🔔 to never miss an update! #LinuxHint #BashScripting #LinuxTutorial #SysAdmin #DevOps #Automation

Download

0 formats

No download links available.

File & Directory Management in Bash - 12 Bash Scripts | NatokHD