Start Here
About
▼
▲
Full Archive
The high level overview of all the articles on the site.
About Baeldung
About Baeldung.
Files
File Searching
Scripting
Search
Filesystems
Administration
File Editing
File Permissions
Tag: find
>> How to List Files Sorted by the Number of Lines They Contain
>> How to Copy Specific File Type While Keeping the Directory Structure
>> Finding Directories Not Containing a Specific File in Linux
>> Exclude “Permission denied” Messages in find Command Output
>> How to Walk Through a Directory Structure in a Shell Script
>> Check if the
find
Command Returns a Match
>> What Makes locate Faster Than find
>> How to List Files by Type With
ls
>> How to Delete Non-empty Directories Using the
find -delete
Command
>> Avoiding the “same file” and Other Warnings While Copying a File Found With find
>> How to Find Filenames That End With a Number in Bash
>> How to Auto-Detect Encoding of a Text File in Linux
>> How to Move Every File That Is Not a Directory
>> How to Sort the Files in a Directory Recursively Based on the Last Modified Date
>> The Default Sorting Order of the find Command
>> World-Writable Directories in Linux
>> Copying Files With Different Specific Extensions Using the
find
Command
>> How to cat the Contents of Files Found Using find Into a Single File
>> Find Binary Files in a Directory
>> How to Auto Delete Files Older Than N Days
>> How to Exclude Filesystems When Using find
>> How to Find Files with Non-Printable and Non-ASCII Characters in Their Names
>> Using
find
to Get the Number of Occurrences of Text Patterns and Files
>> Copy Files Based on a Condition
>> Finding Duplicate Files With the Same Name
>> How to List Files Not Matching a Given String in the Filename
>> How to Get Octal File Permissions From the Command Line
>> Flattening a Nested Directory in Linux
>> How to Rename Multiple Files in Linux by Removing the Extension
>> How to Find Files by the Length of the Filename
>> How to Setup Search Indexing for an Entire Linux System
>> Moving Files to Directories Based on the Extension
>> Breadth-First Search in a Directory
>> How to Find All Files Containing a Specific Text Pattern
>> Finding my.cnf From the Command Line
>> “Illegal option -o pipefail” While Using the
set
Command
>> Deleting Files Based on Their Sizes
>> Copying Files Based on Modification Date in Linux
>> Exclusion of a Specific Directory While Using ls Command
>> Executing Multiple Commands in Find -exec
>> Returning Filenames Without Extension Using find
>> How to Sum Up the Size of Files Listed
>> Find Statistics on File Types Recursively in a Directory
>> Comparing Directory Structure Without Comparing Files
>> Fixing File Permissions in a Directory Recursively
>> Search for Class Files in Multiple JAR Files in Linux
>> How to Delete Files With Names That Contain Non-printable Characters
>> List Only Non-Empty Files in Linux
>> Why Looping Over find’s Output Is a Bad Practice
>> Delete All Files in a Directory Except Some
>> Checking Whether a Directory Exists in a Shell Script
>> Batch Converting Image Formats on Linux
>> List Only Directories in a Linux Path
>> How to grep Hidden Files and Directories
>> Find Files Lacking Certain Permissions
>> Recovering Websites From the Wayback Machine With Linux
>> Get the Most Recent File in a Directory
>> Efficiently Delete a Large Directory in Linux
>> Concatenate Files With a Separator
>> Renaming All Folders and Files to Lowercase in Linux
>> Delete Zero-Byte Files in Linux
>> Checking a File’s Age and Modification Time
>> tar Files of Certain Types
>> Linux Find Command With Regular Expressions
>> How to Check if a File Type Exists in a Directory
>> Get the Full Path of a File in Linux
>> Diff a Directory for Only Files of a Specific Type
>> Count the Number of Directories in a Specific Directory
>> Finding Files by Name and Extension
>> Display Modified Date When Using the find Command
>> Replacing Spaces from Filenames in Linux
>> Exclude Certain Paths With the find Command
>> How To Find Only Text Files in a Directory in Linux
>> Count All the Lines of Code in Directory
>> Delete Empty Files and Directories in Linux
>> Move All Files Except One
>> How to Find All Links for a Specific File
>> The “Argument List Too Long” Error in Linux Commands
>> How to Remove Symbolic Links
>> List the Size of Each File and Directory, and Sort by Size in Linux
>> Find and Delete Files and Directories
>> Using grep on Files That Match Specific Criteria
>> Copy Directory Structure Without Files
>> Find Files Not Owned by a Specific User in Linux
>> Find and tar Files
>> Calculate an MD5 Checksum of a Directory in Linux
>> Using the find -exec Command Option
>> Running Multi-Line Shell Code at Once From Single Prompt
>> How to Delete Multiple Files at Once in Bash
>> How to Append the Contents of Multiple Files Into One File
>> Recursive Search and Replace in Text Files
>> Recursively List All Files in a Directory Including Symlinks
>> Copy Directory Recursively, Excluding Some Subdirectories
>> Tracking Down Where Disk Space Has Gone on Linux
>> How to Delete a File Whose Name Begins With “-“
>> How to Count the Number of Files in Linux
>> Print Linux Directory Structure as a Tree
>> Finding Duplicate Files in Unix
>> Guide to Monitoring Disk Usage on Linux
>> Guide to the Linux find Command
>> Linux Commands – Find Broken Symlinks
>> Linux Commands – Looping Through Directories
>> Copy a File to Multiple Directories on Linux
>> Linux Commands – Delete Files Older Than X
>> Find Files That Have Been Modified Recently in Linux
↑ Back to Top