similar to: Recursively templating files in a directory

Displaying 20 results from an estimated 6000 matches similar to: "Recursively templating files in a directory"

2020 Feb 05
4
[RFC] IRBuilder polymorphism: Templates/virtual
Hi, The IRBuilder is currently templated over a constant folder, and an instruction inserter. https://reviews.llvm.org/D73835 proposes to move this towards using virtual dispatch instead. As this is a larger design change, I would like to get some feedback on this. The current templated design of IRBuilder has a couple of problems: 1. It's not possible to share code between use-sites that
2018 Apr 06
2
Is it possible to clone an NT ACL from one file or dir to a totally different file or dir ?
On Sat, 2018-03-24 at 20:38 -0400, Ken McDonald via samba wrote: > > > By default, step 4 takes forever to run on large datasets because it > > uses named entities. My ultimate plan was to use the numeric > > user/group id's in that step instead of named ones so the Winbind cost > > is not incurred. Seems for the whole process, the calls to Winbind to > >
2009 May 20
1
templating language questions
Hello, I''m experimenting with a xhtml templating language and have some questions about ActionPack, particularly to do with compilable templates. I''m mostly looking for further information about compilable templates. The templating language currently works, though it isn''t a compilable template handler. I''ve yet to benchmark it, but it seems to be running
2011 Mar 10
2
Managing directories recursively and adjust subdirectories permissions?
Hello everybody, I have a strange problem. I manage a directory recursively like this (this part works). class showcase { file { "/opt/files": ensure => directory, owner => "user", group => "group", recurse => true, source => "puppet:///showcase" } } Now, if I want to set permissions on directories included in
2001 Nov 20
2
patch to enable faster mirroring of large filesystems
I have attached a patch that adds 4 options to rsync that have helped me to speed up my mirroring. I hope this is useful to someone else, but I fear that my relative inexperience with rsync has caused me to miss a way to do what I want without having to patch the code. So please let me know if I'm all wet. Here's my story: I have a large filesystem (around 20 gigabytes of data) that
2006 Jun 22
9
OT -- BASH
Can someone explain why this: find . -depth -print0 | cpio --null -pmd /tmp/test will copy all files in and below the current directory -and- this: find . -depth -print | grep -v .iso$ | wc -l will count all the non-iso files -and- this: find . -depth -print | grep .iso$ | wc -l will count *only* the iso files -but- this: find . -depth -print0 | grep -v .iso$ | cpio --null -pmd /tmp/test
2012 Dec 18
4
Puppet v2.7.209 setting permissions recursively
How can I get Puppet to recursively set permissions of a directory, so that the directory and all subdirectories have move 0755 but the files in the directory have mode 0644? When I use the recurse => true option, it sets the files in the directory to executable as well. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view
2012 Sep 18
1
How can i get directory recursively?
In manifest i have this instruction: file { "/etc/apache2": owner => root, group => root, mode => 740, recurse => true, source => "puppet:///dist/apache2" } By syntax its right, but on client i see error: err: /Stage[main]/Testing170/File[/etc/apache2]: Failed to generate additional resources using
2006 Dec 07
1
templating library for R
Hi, does anybody know of a templating library for R, like velocity or freemarker? It doesn't have to be very fancy just a bit better than sub in replacing tags in a text (not necessarily html) file. thank you very much for your answer. Ido
2007 May 02
6
templating problems - rhel4, 0.22.3
Using RPMs for el4 (0.22.3). Been trying to get templates to work, but have found problems. I created a very small template, and this works well, variables substitute, great. I tried a much larger one (an httpd.conf), and puppetmaster crashed. the remote puppetd first reported an SSL certificate problem, then on seconds run, "cannot connect to server." Hacked the template down to
2009 Aug 19
2
replacing permissions on uploaded windows files
Hello, I've got a CentOS box and users are putting Windows long files on it, files with " " and " - " in their filenames. I'm trying to adjust the permissions as well as user and group membership and i'd like the changes to be sticky. On the tld i've set permissions of 2755 and am trying to batch convert the files and subfolders in it. I've done this: find
2016 Sep 17
2
Handlers in setGraphicsEventHandlers() can recursively call getGraphicsEvent(). Intended behavior?
Hey all. As in general it's a bad idea to allow an event handler to generate an event, and as comments in the code seem to suggest this isn't the intention either, I was wondering about recursion in getGraphicsEvent(). In main/gevents.c, both doMouseEvent() and doKeybd() have the following line; dd->gettingEvent = FALSE; /* avoid recursive calls */ And they reset it to TRUE
2006 Jan 13
2
"find" statement: 64bit related??
hi! 3 machines all run this same test script. 2 -i386, 1 x-64bit machine. this line: if find / -mount -type f -mtime -1 -print0 | xargs -0 clamscan -l \ $CLAMDAILY $CLAMEXCLUDES -r --no-summary | cut -d: -f1 > $CHANGEDLOG; \ then the $CHANGEDLOG file... on the 32 bit boxes...oh, probably 220 files. On the 64bit box 177,999 files lol (Centos 64bit w/everything installed)! it seems to me
2009 Mar 10
4
rm user:group
I want to remove files but only if they are owned by a certain user and group. Basically I have this: find /var/spool/greylist -mmin +363 -exec rm -f {} \; I want to make sure it only deletes files owned by mail. Basically no matter what weird characters are in the file names I want to make sure it does not delete anything outside of /var/spool/greylist. I can add 'sudo -u' to it but
2014 Oct 07
7
[Bug 10857] New: weirdly named files fail remotely
https://bugzilla.samba.org/show_bug.cgi?id=10857 Summary: weirdly named files fail remotely Product: rsync Version: 3.1.1 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P5 Component: core AssignedTo: wayned at samba.org ReportedBy: samba.org at tange.dk
2007 Nov 21
9
purging exported resources
So I have the following: define nagios::service ( $nagios_template = ''service-template'', $host_name = $fqdn, $service_groups = '''', $contact_groups = $default_contact_group, $max_check_attempts = 3, $dependency = false, $dependent_host = $fqdn, $dependent_service = '''', $check_command = '''' ) {
2018 Apr 07
0
Is it possible to clone an NT ACL from one file or dir to a totally different file or dir ?
On 04/05/2018 08:32 PM, Andrew Bartlett wrote: > On Sat, 2018-03-24 at 20:38 -0400, Ken McDonald via samba wrote: >>> By default, step 4 takes forever to run on large datasets because it >>> uses named entities. My ultimate plan was to use the numeric >>> user/group id's in that step instead of named ones so the Winbind cost >>> is not incurred. Seems for
2012 Oct 25
1
find with -mtime and -print0 = inaccurate results
If I run this: find /path/to/files/ -type f -mtime -2 -name *.xml.gz I get the expected results, files with modify time less than two days old. But, if I run it like this, with the print0 flag: find /path/to/files/ -print0 -type f -mtime -2 -name *.xml.gz I get older files included as well. Anyone know why?
2011 Apr 02
3
Trouble with 2.0.11 debian package
I wonder if somebody could help me. If I try clean install of dovecot-common dovecot-imapd dovecot-pop3d from deb http://xi.rename-it.nl/debian stable-auto/dovecot-2.0 main I got: Starting IMAP/POP3 mail server: dovecotdoveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf: service(managesieve-login): executable is empty failed! Setting up dovecot-imapd
2007 Mar 23
2
Command not running in crontab
Hi, Can anoyone tell me why this command is not executed (or it is without success) from crontab, but works perfectly from the command line ? (yes, i've restarted crontab service) # clean up postmaster 00 30 * * * root /usr/bin/find /var/qmail/maildirs/postmaster at telbit.pt/Maildir/new -type f -print0 | xargs -0 -n 50 rm The mind boggles... Any help would be appreciated. Warm