Tag: matching
Python : How to remove files by matching pattern | wildcards | certain extensions only ?
In this article we will discuss how to delete few files from a directory based on matching pattern or wildcard. Suppose we have a directory that contains some log files and some text files and we want to delete all .txt files from that directory i.e. files that ends with string “.txt”. Let’s discuss how …
Python : How to remove files by matching pattern | wildcards | certain extensions only ?Read More
Find files in directory by wildcard matching in Linux
In this article, we will learn how to find all files in a directory based on wildcard matching in Linux. Table Of Contents Introduction Finding files based on wildcard matching Example 1: Search for a file with specific Filename Example 2: Search for a file with specific pattern Example 3: Search for a file with …
Find files in directory by wildcard matching in LinuxRead More