Hi,
I would like to find if a file called test.log is older than 10 min.
So i wrote :
#!/usr/bin/ksh
FICLOG="/home/uuu/result_test.log"
FIC="/home/uuu/test.log"
touch -t `perl -e 'use POSIX qw(strftime); printf("%s\n",strftime("%m%d%H%M",localtime(time-3600*0.17)));'`... (3 Replies)
I am running SUSE/8 and SUSE/9 on a high end server (4 CPU, 8G RAM etc)
I have a huge directory structure with over 4million files in it. I have find the files that are modified (created, modified, renamed etc etc) in the last 10 minutes periodically.
I have tried "find -cmin -10" and "find... (2 Replies)
Hello everyone,
I would like to filter and search for files in my curr dir where the blocks used by those files are over a certain number (i.e. 30), when I try this command
find . -name "c*" -size +30 -exec ls -ls {} \;
I get a list of files, the first column is the block size, right?
... (1 Reply)
Hi,
I have a text file, foo.txt, it looks something like below. In the file there is a line that gives the date in the form of: Mon Jun 15 11:09:31 2008. I need to find which date is the newest and then store certain details of that list data to another file. So, in this sample text file, I... (6 Replies)
To find all the files in your home directory that have been edited in some way since the last tar file, use this command:
find . -newer backup.tar.gz
Is anyone familiar with an older solution?
looking to identify files older then 15mins across several directories.
thanks,
manny (2 Replies)
This should be a simple script, but can't find one with google search.
I just need to find the file that is in many directories, then overwrite that file with a newer version i.e.
find file.jar then overwrite with /root/file.jar
All I get in searches is substitute text with new test inside... (1 Reply)
We had an arrant rsync run and started copying over new files from one system to another.
Although this is what we will want to do at some point, for now, we want to maintain the system as it was a few days ago.
I am looking for a script that will find files that are newer than x days.
... (5 Replies)
When this command is issued from a directory other than where the file is located it works fine:
find /db2/D01/log_archive/ -name "S0002166.LOG" -type f
/db2/D01/log_archive/db2d01/D01/NODE0000/C0000000/S0002166.LOG
When I change -name to -newer, it doesn't work. Find only searches the current... (5 Replies)
I create a shell script program (AIX OS) that flags any logs that certain keywords such as memsize, sasfoundation, and real time. My program isn't working maybe because my syntax logistic isn't correct.
Here are examples of the logs:
file1.log.02897 file2.log.02896 filez.log.02899 ... (5 Replies)
Discussion started by: dellanicholson
5 Replies
LEARN ABOUT PHP
enchant_broker_request_dict
ENCHANT_BROKER_REQUEST_DICT(3) 1 ENCHANT_BROKER_REQUEST_DICT(3)enchant_broker_request_dict - create a new dictionary using a tagSYNOPSIS
resource enchant_broker_request_dict (resource $broker, string $tag)
DESCRIPTION
create a new dictionary using tag, the non-empty language tag you wish to request a dictionary for ("en_US", "de_DE", ...)
PARAMETERS
o $broker
- Broker resource
o $tag
- A tag describing the locale, for example en_US, de_DE
RETURN VALUES
Returns a dictionary resource on success or FALSE on failure.
EXAMPLES
Example #1
A enchant_broker_request_dict(3) example
Check if a dictionary exists using enchant_broker_dict_exists(3) and request it.
<?php
$tag = 'en_US';
$broker = enchant_broker_init();
if (enchant_broker_dict_exists($broker,$tag)) {
$dict = enchant_broker_request_dict($r, $tag);
}
?>
SEE ALSO enchant_dict_describe(3), enchant_broker_dict_exists(3), enchant_broker_free_dict(3).
PHP Documentation Group ENCHANT_BROKER_REQUEST_DICT(3)