hello! is there a way for me to use the chmod command to change permissions for several files all at once -based on the fact that these files were all most recently modified TODAY ?
I can't use a wildcard on their filenames because the filenames are varied. But I was hoping I could somehow do... (2 Replies)
Hi what is the most optimum way to ftp the most recently modified file starting with a particular string.
i tried this
ftp -n 2>logfile 1>&2 <<EOF
open xxxxxx
user xxxx xxxx
prompt
ls -ltr f* res
!var=`tail -1 |awk { print $9 }'`
bye
EOF
that gives... (6 Replies)
Hi,
Is there any simple way to get the last modified file in a set of 2 or more directories? This should return one file only (not 1 file per directory)
Thanks for your help (4 Replies)
Hi. Our shop is migrating to a new UNIX server and our hope is to do a full migration of all files to the new server weeks in advance of the final migration. As a result we want to identify files on our SOLARIS 8 UNIX server that have changed or that were created after a specific date & time... (2 Replies)
hi gurus,
i would like to know how can i find logs files which were recently modified or updated? :confused:
using this command?
find . -name "*.log" -mtime ??
so what should i put for mtime?
thanks.
wee (9 Replies)
Hi
Is it possible to compare the modified dates of all the files in two directories using shell script?
I would like to take a backup of a directory in production server regularly.
Instead of copying all the files in the directory, is it possible to list only the files that are... (2 Replies)
I have three files a.txt , b.txt , c.txt in a directory called my_dir1 .These files were created before two or three months . I have a tar file called my_tar1.tar which contains three files a.txt , b.txt , d.txt . Somebody untarred the my_tar1.tar into my_dir1 directory. So existing two files were... (1 Reply)
Hi All ,
I have a directory called "/usr/local/apache/docs/" inside this docs i have below directories ,
bash-2.05# pwd
/usr/local/apache/docs/
bash-2.05#ls -l | less
2 drw-r-xr-x 3 root root 512 Aug 8 2010 Form1
2 drw-r-xr-x 3 root other 512 Mar 8 ... (4 Replies)
Hi all, I am a bit of a beginner with shell scripting..
What I want to do is merge two drives, for example moving all data from X to Y.
If a file in X doesn't exist in Y, it will be moved there.
If a file in X also exists in Y, the most recently modified file will be moved to (or kept) in... (5 Replies)
Discussion started by: apocolapse
5 Replies
LEARN ABOUT DEBIAN
ldns_dnssec_zone_free
ldns(3) Library Functions Manual ldns(3)NAME
ldns_dnssec_zone_find_rrset, ldns_dnssec_zone_new, ldns_dnssec_zone_free, ldns_dnssec_zone_add_rr, ldns_dnssec_zone_names_print,
ldns_dnssec_zone_print, ldns_dnssec_zone_add_empty_nonterminals-
SYNOPSIS
#include <stdint.h>
#include <stdbool.h>
#include <ldns/ldns.h>
ldns_dnssec_rrsets* ldns_dnssec_zone_find_rrset(ldns_dnssec_zone *zone, ldns_rdf *dname, ldns_rr_type type);
ldns_dnssec_zone* ldns_dnssec_zone_new();
void ldns_dnssec_zone_free(ldns_dnssec_zone *zone);
ldns_status ldns_dnssec_zone_add_rr(ldns_dnssec_zone *zone, ldns_rr *rr);
void ldns_dnssec_zone_names_print(FILE *out, ldns_rbtree_t *tree, bool print_soa);
void ldns_dnssec_zone_print(FILE *out, ldns_dnssec_zone *zone);
ldns_status ldns_dnssec_zone_add_empty_nonterminals(ldns_dnssec_zone *zone);
DESCRIPTION
ldns_dnssec_zone_find_rrset() Find the RRset with the given name and type in the zone
zone: the zone structure to find the RRset in
dname: the domain name of the RRset to find
type: the type of the RRset to find
Returns the RRset, or NULL if not present
ldns_dnssec_zone_new() Creates a new dnssec_zone structure
Returns the allocated structure
ldns_dnssec_zone_free() Frees the given zone structure, and its rbtree of dnssec_names Individual ldns_rr RRs within those names are *not*
freed
*zone: the zone to free
ldns_dnssec_zone_add_rr() Adds the given RR to the zone. It find whether there is a dnssec_name with that name present. If so, add it to
that, if not create a new one. Special handling of NSEC and RRSIG provided
zone: the zone to add the RR to
rr: The RR to add
Returns LDNS_STATUS_OK on success, an error code otherwise
ldns_dnssec_zone_names_print() Prints the rbtree of ldns_dnssec_name structures to the file descriptor
out: the file descriptor to print the names to
tree: the tree of ldns_dnssec_name structures to print
print_soa: if true, print SOA records, if false, skip them
ldns_dnssec_zone_print() Prints the complete zone to the given file descriptor
out: the file descriptor to print to
zone: the dnssec_zone to print
ldns_dnssec_zone_add_empty_nonterminals() Adds explicit dnssec_name structures for the empty nonterminals in this zone. (this is needed for
NSEC3 generation)
zone: the zone to check for empty nonterminals return LDNS_STATUS_OK on success.
AUTHOR
The ldns team at NLnet Labs. Which consists out of Jelte Jansen and Miek Gieben.
REPORTING BUGS
Please report bugs to ldns-team@nlnetlabs.nl or in our bugzilla at http://www.nlnetlabs.nl/bugs/index.html
COPYRIGHT
Copyright (c) 2004 - 2006 NLnet Labs.
Licensed under the BSD License. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
SEE ALSO
ldns_dnssec_zone. And perldoc Net::DNS, RFC1034, RFC1035, RFC4033, RFC4034 and RFC4035.
REMARKS
This manpage was automaticly generated from the ldns source code by use of Doxygen and some perl.
30 May 2006 ldns(3)