12-15-2008
Quote:
Originally Posted by
nullwhat
Need to make a very fast file existence checker. Passing in 20-50K num of files
Write it in C.
Quote:
how can you pipe into an if statement?
You can't; an if statement is not a loop and it doesn't read standard input.
6 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hello, everyone:
i encounter a problem these days , pls help me ,thanks in advance.
my env:
machine: ES40 A ES40 B
os: true64 Unix 4.0f
note: src.tar 8M network card speed 100M
my problem:
... (3 Replies)
Discussion started by: q30
3 Replies
2. News, Links, Events and Announcements
For story:
http://story.news.yahoo.com/news?tmpl=story&cid=75&ncid=738&e=9&u=/nf/20030606/tc_nf/21680 (0 Replies)
Discussion started by: Neo
0 Replies
3. Shell Programming and Scripting
Thanks in advance to anyone that can help me answer this:
I'm trying to write an if statement that will run test -f on whether a file exists on another server and if it does not then report that negative outcome to a log file.
I'm thinking it should look something like this:
if ; then
rcp... (5 Replies)
Discussion started by: Korn0474
5 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I need to find out if a particular file exists and i am using if with -e option.
Scenarion is like
There is a possibility of two files having nomaincluture like below
First file = abc20101028.somthing
Second File = abc20101028.somthing.done
I need to check abc20101028.somthing... (1 Reply)
Discussion started by: siba.s.nayak
1 Replies
5. Shell Programming and Scripting
I had written a perl script to compare two files: new and master and get the output of the first file i.e. the first file: words that are not in the master file
STRUCTURE OF THE TWO FILES
The first file is a series of names
ramesh
sushil
jonga
sudesh
lugdi
whereas the second file (could be... (4 Replies)
Discussion started by: gimley
4 Replies
6. Solaris
I have "inherited" a OmniOS (illumos based) server.
I noticed rsync is significantly slower in respect to my reference, FreeBSD 12-CURRENT, running on exactly same hardware.
Using same hardware, same command with same source and target disks, OmniOS r151026 gives:
test@omniosce:~# time... (11 Replies)
Discussion started by: priyadarshan
11 Replies