Skip to main content

All Questions

Tagged with
0 votes
1 answer
631 views

Exclamation Points - Is there a linux bash command to find and delete all directories named "!example" (and their contents)

I have searched and searched for an answer to this question, and I have used some of the answers I found in the past for finding and deleting large numbers of directories that are named by a certain ...
Brad's user avatar
  • 1
3 votes
3 answers
912 views

Why doesn't this for loop work?

This is on Ubuntu 12.04 I'm trying to figure out how to get ffmpeg to do a batch conversion of FLACs to MP3, recursively. If I cd into a directory and use for f in *.flac; do ffmpeg -i "$f" -c:a ...
evilsoup's user avatar
  • 13.6k
10 votes
1 answer
10k views

How to find files that don't belong to a given user

How do I recursively search for all files or directories that do not belong to given user?
nothing-special-here's user avatar
15 votes
2 answers
37k views

How do you search for specific text in specific file types? [duplicate]

Possible Duplicate: How can I grep in source files for some text? What's the command to search for specific text in specific file types, recursively, under the current directory?
Phillip's user avatar
  • 451
36 votes
2 answers
38k views

How can I force only relative paths in "find" output?

I am attempting to create a script that can compress files with a certain extension in a number of directories into a single tar-ball. Currently what I have in the script file is: find "$rootDir" -...
Shane's user avatar
  • 383