0
votes
1answer
89 views

Find & du to calculate total size vs xargs

Can someone confirm that the following one liner will produce the total human readable size of all the directories which FIND locates as having log in the name? find -type d -name *log* | du -hcs
0
votes
1answer
151 views

Cygwin: `find / -name libstdc++-6.dll` shows no results

In Windows Explorer, when I search for libstdc++-6.dll, it returns half a dozen results. I'm trying to do a similar filename search in Cygwin with find, but that shows no results. find / -name ...
0
votes
1answer
40 views

how to find files with cygwin

We like to search many directories in a Windows environment with cygwin. We tried find . -name *.txt -print but it complains the -print predicate. What is the correct command then ? We only want ...
2
votes
3answers
473 views

How do I create a soft link to all executables in a different directory?

I am trying to create soft links to mingw's binaries in cygwin. So far I have: find /cygdrive/c/MinGW/bin/ -name "*.exe" -exec ln -s {} basename {} \; but I get: ln: target ...
1
vote
2answers
302 views

List all files in a directory matching a string and copy output

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" | ...
7
votes
2answers
4k views

find command doesn't seem to work in cygwin

When trying to run find commands in cygwin, I keep getting the error "FIND: Parameter format not correct" However, the same commands run on linux. What's going on?
4
votes
1answer
283 views

Using find to find files

If I'm in the root directory, can I use find to search all the directories below it for a file? I tried find stdio.h but it didn't find anything. However I know that that file is in the filesystem ...