Tagged Questions
3
votes
3answers
212 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 ...
2
votes
1answer
254 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?
0
votes
2answers
2k 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?
5
votes
1answer
3k 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" ...