Search Results

Search: Posts Made By: rrahmegni
1,148
Posted By rrahmegni
Ah, excellent! Tried your solution without the...
Ah, excellent! Tried your solution without the pipe and it worked!

Thanks for help mate!
1,148
Posted By rrahmegni
Problems with variable
Hey all.

I have trouble passing a variable from inside a loop.


# find all output.txt that has been modified last 24h ...
PROCESSED=1
find ${PROCESSED_DIR} -mtime -1 -name...
2,100
Posted By rrahmegni
Question about user input
Hello all,

How can i have a user input that reads like this:

echo -n "Please enter a & b:" 10 20

read a
read b

echo $a
echo $b

10
20

right now i have divided it into two echos,...
1,247
Posted By rrahmegni
Aah, yea. adding -name made it work much better!...
Aah, yea. adding -name made it work much better! Thanks for help!

Ive figured out a way of comparing the output from find also.

find /Processed/$DATE* -name "blah.txt" | while read i
do
...
1,247
Posted By rrahmegni
Finding a file and comparing
Hey all!

So this is my problem: when a txtfile is processed, its moved to a directory called YYMMDDHHMMSSSS.
Example: /Processed/090624005217
And I want to check that the file ends up in that...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 03:51 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy