[CentOS] Shell Question
Al Sparks
data345 at yahoo.comMon Mar 19 22:33:04 UTC 2007
- Previous message: [CentOS] net.ipv4 TCP/IP Optimizations = sysctl.conf?
- Next message: [CentOS] Shell Question
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
So I list out some directories, and I redirect the output to a file
called "out".
I do it with:
find . \( -type d ! -name . -prune \)' > out
I then go into "out" using my favorite editor and remove any
directories I don't want to search.
When I do a
find `cat out` -name 'something*'
I get an error on any directories with whitespace in them. When I try
to place quotes around that name, it doesn't work, nor does putting a
backslash in front of the space help.
Any shell experts out there have any ideas?
=== Al
- Previous message: [CentOS] net.ipv4 TCP/IP Optimizations = sysctl.conf?
- Next message: [CentOS] Shell Question
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list