Given a filesystem path, is there a shorter way to extract the filename without its extension?
I program in WPF C#. I have e.g. the following path: C:\Program Files\hello.txt and I want to extract hello from it. The path … Read more
I program in WPF C#. I have e.g. the following path: C:\Program Files\hello.txt and I want to extract hello from it. The path … Read more
Can anyone recommend a safe solution to recursively replace spaces with underscores in file and directory names starting from a given root directory? … Read more
I have a string that I want to use as a filename, so I want to remove all characters that wouldn’t be allowed … Read more
This question already has answers here: Extract filename and extension in Bash (38 answers) Closed 5 years ago. Given file names like these: … Read more
I want to get all file names from a folder using Ruby. 20 Answers 20
This question already has answers here: How to read all files in a folder from Java? (33 answers) Closed 2 years ago. I … Read more
I want to create a .htaccess file manually and discovered it seems impossible through the Windows UI. I get a “you must type … Read more
Given a string file path such as /foo/fizzbuzz.bar, how would I use bash to extract just the fizzbuzz portion of said string? 14 … Read more
I know that / is illegal in Linux, and the following are illegal in Windows (I think) * . ” / \ [ … Read more
Closed. This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be … Read more