I am familiar with using tar and exclude/include files:
tar zcf backup.dirs.tgz --files-from=include.mydirs --exclude-from=exclude.mydirs --no-recursion
but was wondering if I could use find in the same way. I know that you can just specify the directories to exclude but my list is... (2 Replies)
Hi Gurus.
I have a directory and i receive many files with extension .log. I processed the file as i get it. i want to process all the files except one which i know i don't want to process.
cd /backup/temp/rajesh/PACS #--- directory , under this i have below files... (1 Reply)
Using Sol 10 + KSH.
I need to run a find command on the whole system "/" and exclude a bunch of explicit directories and files that may or may not be on each system.
I cannot use the -name because i dont want to exclude all dirs named just specific paths.
-path/-wholename is not an option... (2 Replies)
Loving the rsync command and beginning to write some scripts with it.
However I'm hung up on the --exclude function.
Script is tested and works great BEFORE I put the --omit in.
What am I doing wrong in my syntax?
rsync $OPTS /cis/cloverleaf/cis6.0/integrator/... (2 Replies)
Hi,
I need to exlucde the files which are present in exclude.txt from a directory
exlcude.txt
AUZ.txt
AUZ.chk
NZ.txt
NZ.chk
tried with below code but not working
ls -ltr | grep -v `cat exclude.lst` (9 Replies)
Hi Experts,
Below is my shell script and it will move the files older than 90 days to archive mount. Now my new requirement is , I need to move some of the directory files older than 365 days. How can I achieve this.
Simply I have
DIR1
DIR2
DIR3
DIR4
I need to exclude DIR 2 and DIR 2... (5 Replies)
I would like to write a script to check the log , if any line in the log have the string in include_list.txt but do not have the string in exclude_list.txt , then send alert mail to administrator , as below example , the line 1 have the string "string 4" ( which is in include_list.txt ) but do not... (7 Replies)
How do you exclude a filesystem using du command in solaris?
for example /proc
Tried this but its not working
du -sk -d /* --exclude=/proc | sort -nr | cut -f2 | xargs du -sh | head - (1 Reply)
Hello,
Im glad to become a member of this forums,
Im new on solaris and recentrly im introducing to use auditing service in that system.
The need is, that I need how to exclude a directory to the audit service not audit it.
And, a plus, I need of how to disable auditing the root user in... (0 Replies)
Discussion started by: sysh4ck
0 Replies
LEARN ABOUT PHP
aggregate_properties_by_regexp
AGGREGATE_PROPERTIES_BY_REGEXP(3) 1 AGGREGATE_PROPERTIES_BY_REGEXP(3)aggregate_properties_by_regexp - Selective class properties aggregation to an object using a regular expressionSYNOPSIS
void aggregate_properties_by_regexp (object $object, string $class_name, string $regexp, [bool $exclude = false])
DESCRIPTION
Aggregates properties from a class to an existing object using a regular expression to match their names.
The properties whose names start with an underscore character (_), which are considered private to the aggregated class, are always
excluded.
PARAMETERS
o $object
-
o $class_name
-
o $regexp
-
o $exclude
- The optional parameter $exclude is used to decide whether the regular expression will select the names of class properties to
include in the aggregation (i.e. $exclude is FALSE), or to exclude from the aggregation ($exclude is TRUE).
RETURN VALUES
No value is returned.
SEE ALSO aggregate(3), aggregate_methods(3), aggregate_methods_by_list(3), aggregate_methods_by_regexp(3), aggregate_properties(3), aggregate_prop-
erties_by_list(3), aggregate_info(3), deaggregate(3).
PHP Documentation Group AGGREGATE_PROPERTIES_BY_REGEXP(3)