💻 Software
Recursive ls with conditions
Fresh5 days ago
Mar 15, 202616861 viewsConfidence Score0%
0%
Problem
Why can't I use a command like this to find all the pdf files in a directory and subdirectories? How do I do it? (I'm using bash in ubuntu) EDIT How would I then go about deleting all these files?
Error Output
ls -R *.pdf
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Recursive ls with conditions
Low Risk
Why can't I use a command like this to find all the pdf files in a directory and subdirectories? The wildcard in your command is expanded by to all matching files in the current directory, before executing . How do I do it? (I'm using bash in ubuntu…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix