I'm looking to get a list of just file names (without the rest of the path) when executing the find command from a terminal. How do I accomplish this on the mac?
I just downloaded some source code from a repository and I'm trying to locate a specific file in it. For simplicity, assume that the entire project has the following directory hierarchy ...
I want to open terminal, find a file or folder, and quickly navigate to that folder or the parent directory of the file. I can quickly get the path using find ~ -name 'filename.txt' but I can't ...
Recently during a installation messup , I lost all my files from my windows NTFS drives. I installed on testdata on Ubuntu 12.10 Desktop edition and with the help of photorec could recover a lot of ...
Possible Duplicate: Search Terminal Output Imagine this scenario: You run a command at gnome terminal. This command has made a bunch of outputs to the terminal. After some time, you ...
If I run grep foo bar.txt, grep highlights each occurrence of "foo" in bar.txt. But sometimes I want to use find to determine which files grep searches. So I do something like this: find . -iname ...
I'm trying to create a series of playlists on my MP3 player, running Rockbox, by finding a file matching a string, using find /cygdrive/g/MUSIC -type f -name "Search Criteria" | ...
Using the Mac OS X Terminal, how do I write a find command that orders results by modification date (most recent first)? There are similar questions already, but they refer to GNU find and POSIX, but ...
I want to find a file on my macbook with the filename "abc.dmg". I've tried to use spotlight, but it doesn't find it. I've tried find (find -name abc.dmg -path /) but get errors back. What is the ...
I'm trying to copy all files and folders from one directory to another, but exclude certain files. Specifically, I want to exclude subversion files and folders. However, I'd like a general yet ...