Unix: Delete all the files in a folder and its subfolders without deleting the folder structure

Subscribers:
4,110
Published on ● Video Link: https://www.youtube.com/watch?v=heGv-pgIjN8



Duration: 2:39
8 views
0


Delete all the files in a folder and its subfolders without deleting the folder structure
I hope you found a solution that worked for you :)
The Content (except music & images) is licensed under (https://meta.stackexchange.com/help/licensing)CC BY-SA
Thanks to all those great people for their contributions!

(unix.stackexchange.com/users/582015/amalaf)amalAF
(unix.stackexchange.com/users/160753/henrik-supports-the-community)Henrik supports the community
A special thanks goes out to the (https://unix.stackexchange.com/questions/753629/delete-all-the-files-in-a-folder-and-its-subfolders-without-deleting-the-folder)Stackexchange community

I wish you all a wonderful day! Stay safe :)

delete recursive files linux




Other Videos By Peter Schneider


2023-08-14Unix: How to shutdown Linux with an infrared remote control
2023-08-14Codereview: Multi-Client Socket Communication with Thread Pool in C++
2023-08-14Electronics: Differential pairs without ground plane
2023-08-14Ethereum: Why this transaction has extra characters in input data
2023-08-14How to write multiple IF conditions using table arguments in excel
2023-08-14Unix: Need help with a sed script for specific word replacements in a text file
2023-08-14Is CROSS JOIN all we need?
2023-08-14Mathematica: Rescaled tooltips
2023-08-14Tex: Draw a table with cells of different sizes and colours
2023-08-14Salesforce: How can I get a data cloud trial org?
2023-08-14Unix: Delete all the files in a folder and its subfolders without deleting the folder structure
2023-08-14Finding the average of the data in Excel 2021 for the similar first column data
2023-08-14Delete all folders, except specific folders and sub-folders
2023-08-14Mathematica: How to Find the Range of Exponential function with Parameter a as Base
2023-08-144000% Performance Decrease in SYCL when using Unified Shared Memory instead of Device Memory
2023-08-14I messed with my laptops EFI Boot Manager, now I can’t boot into anything
2023-08-14Security: CRIME like attack and locality of randomized data
2023-08-14Unix: How can you, with bash, check all files in a directory to see which ones (if any) something...
2023-08-14Tex: Calligraphic style Math Font for letter Q
2023-08-14Codereview: Computation of average speed in Python
2023-08-14Faster algorithm for max(ctz(x), ctz(y))?



Tags:
delete
recursive
files
linux