Search Results

Search: Posts Made By: maldini
3,288
Posted By maldini
touch -t 200507090000.00 tempStartDateFile ...
touch -t 200507090000.00 tempStartDateFile
touch -t 200509302359.59 tempEndDateFile

find $directory -name * -newer tempStartDateFile ! -newer tempEndDateFile
7,268
Posted By maldini
#!/bin/ksh
Hi,

I wrote scripting to perform some jobs. (eg, run_job)
Everything works ok when i tested it on my side.
I execute the run_job manually and it works perfectly ok.

When my administrator try...
6,078
Posted By maldini
thanks for both of ur reply. i solve the...
thanks for both of ur reply.
i solve the problem by cd to the working directory in my schedule job.
the reason why i never consider to use full path is because it will restrict my program...
6,078
Posted By maldini
Calling other file function
Hi,

I am pretty new to unix.
Lets say i have a program(run_program) that will call another file function(functiona, in same directory):

hence, inside that run_program. i will just call...
2,007
Posted By maldini
anyone know why? i am using AIX machine. ...
anyone know why?
i am using AIX machine.
thanks!
1,873
Posted By maldini
anyone know why? i am using AIX machine. ...
anyone know why?
i am using AIX machine.
thanks!
2,007
Posted By maldini
nope :confused:
nope :confused:
2,007
Posted By maldini
Funny behaviour of copying/listing files
Hi,

I encounter a very strange problem :confused:
Below is the code that i will run it to backup my files.
It will go to find all files in a particular folder from one date to another.
The...
1,873
Posted By maldini
ya... i use -p and it works... but i just...
ya... i use -p and it works...
but i just puzzle with what happened cos i discover that issue accidentally because i forgot to put -p in my script :eek:
1,873
Posted By maldini
btw... i forgot to say is that i put that in a...
btw... i forgot to say is that i put that in a script...

example:
1,873
Posted By maldini
Copy Files then with option of remove
hi,

i encounter a quite a new things for me.

lets sat my test.txt modified date is 6th of July 2005.

then i execute the following command:

"cp test.txt testfolder/test.txt"

when i go...
33,371
Posted By maldini
hi vino, it doesn't work. it always...
hi vino,

it doesn't work.
it always concatenate all the files's modified months into mon var at once.
example is i have 6 files with 2 Jan, 4 Mar.
mon var will be assigned with "Jan Mar Mar...
33,371
Posted By maldini
thanks vino for all of ur helps. will try it...
thanks vino for all of ur helps.
will try it out later and post my comment here...
thanks again :)
33,371
Posted By maldini
you are right vino :)
you are right vino :)
33,371
Posted By maldini
sorry about that. i am trying to backup all...
sorry about that.
i am trying to backup all files in a specific directory by month.
lets say there are 50 files in that folder for month of Jan, i will move all Jan files into a Jan folder and so...
33,371
Posted By maldini
thanks vino again for the reply. your that...
thanks vino again for the reply.
your that script works.
however, it is still specifiying by number of days instead of month :(
33,371
Posted By maldini
thanks vino for the help. that's definately a...
thanks vino for the help.
that's definately a great help.
however is there any other option than specifiying the file name?
it is because i won't have the luxury to know the old file and new file...
33,371
Posted By maldini
another thing is can i search all files that is...
another thing is can i search all files that is btw this date to another date? thanks!
33,371
Posted By maldini
Find all files by month
Hi,

I am trying to do achieving of files by months.

find /test -name \*.* -mtime +30
will give me the result of all modified files after 30 days.
But lets say i want to list all files that...
9,839
Posted By maldini
thanks vino for the reply. but how abt the...
thanks vino for the reply.

but how abt the making sure the process will be terminated successfully?
9,839
Posted By maldini
Checking before start and stop processes
Hi,

I have 2 start and stop sh.

Start sh
--------
This will start few processes.
Example code:

echo "start process : lgz200 /pipe=test_jobs"
nohup lgz200 /db=test/test1@test1...
Showing results 1 to 21 of 21

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