search for: mindepth

Displaying 20 results from an estimated 25 matches for "mindepth".

2009 Oct 05
2
gnu --target-dir, how to fake with rsync?
...GNU cp & mv type commands they have the --target-dir="dir" option. It lets you put the destination directory as the first argument to cp and mv instead of the last argument. They added the option to get cp & mv working well with xargs for stuff like this: find ./ -type file -mindepth 3 -print0 | xargs -r0 cp --target-dir=/home/sam/stuff/otherstuff/morestuff -- then xargs puts all of the files found by find after the -- Before I learned about this argument I used to do stuff like the "-i" and "-n" options find ./ -type file -mindepth 3 -print0 | xargs -r0...
2010 Feb 04
3
[PATCH] Make configure_from_network function check if network is up, before touching it
This patch adds a safety verification to configure_from_network function, where network configuration will not be performed if it is already up and running, preventing lost of communication for connections already established. Signed-off-by: Ricardo Marin Matinata <matinata at br.ibm.com> --- scripts/ovirt-early | 9 ++++++--- scripts/ovirt-functions | 7 +++++++ 2 files changed,
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
2012 Feb 18
5
Folder name migration when moving from 2.0.x to 2.1.x?
Today I encountered this after upgrading: Feb 18 18:15:40 postamt dovecot: imap(lehnertr): Panic: LIST: Mailbox name not UTF-8: INBOX.Entw?rfe Feb 18 18:15:40 postamt dovecot: imap(lehnertr): Error: Raw backtrace: /usr/local/lib/dovecot/libdovecot.so.0(+0x4104a) [0xb75cc04a] -> /usr/local/lib/dovecot/libdovecot.so.0(+0x410bb) [0xb75cc0bb] -> /usr/local/lib/dovecot/libdovecot.so.0(i_fatal+0)
2011 Apr 25
0
[LLVMdev] svn server permissions for top-level svn update
Hi Jay, > Is there anything that can be done at the server end to fix this, or > at my end to work around it (without having to keep cd'ing into > subdirectories)? I use the following from a script: find . -maxdepth 1 -mindepth 1 -type d -name .svn -prune -o -type d -exec svn update \{\} \; Ciao, Duncan.
2011 Apr 22
3
[LLVMdev] svn server permissions for top-level svn update
Hi, My svn working copy mirrors the layout of the whole svn repository, from llvm-project downwards, so I have: ~/svn/llvm-project/ ~/svn/llvm-project/llvm/ ~/svn/llvm-project/llvm/trunk/ # lots of stuff in here ~/svn/llvm-project/cfe/ ~/svn/llvm-project/cfe/trunk/ # and lots of stuff in here (and likewise for test-suite, llvm-gcc-4.2 and dragonegg) This is nice because I can do "svn
2008 Aug 11
0
nombre de compte imap/ rapide rapide
find . -type d -mindepth 2 -maxdepth 3 -print | sort | uniq | grep -vE "user$" | wc -l -------------- next part -------------- A non-text attachment was scrubbed... Name: mathieu_kretchner.vcf Type: text/x-vcard Size: 258 bytes Desc: not available URL: <http://dovecot.org/pipermail/dovecot/attachments/2008081...
2006 Feb 24
1
Old Maildir UW-imap
Hi all, I'm new in using dovecot and I'm running in a problem, which I cannot solve without hours and hours of work. Maybe there is a solution, which I didn't find with old friend google :_) Here is the problem: We are using an old mailserver (it's running fine for 5 years) with qmail and the old uw-imap server. All users have their grown directories under a home/Maildir folder.
2013 Aug 16
2
Maildirmake equiv?
...ildirs # after they are 21 days old to a yearly folder MDIR="$HOME/Maildir" MDM="/usr/local/bin/maildirmake" YEAR=`/usr/local/bin/gdate -d "last month" '+%Y'` echo "The Year is $YEAR..." OIFS=$IFS IFS=" " for I in `find $MDIR -maxdepth 1 -mindepth 1 -type d| egrep -v "[0-9][0-9][0-9][0-9]"`; do MYDIR="${I}" TBASE=`basename $MYDIR` # if [ ! $TBASE == "Maildir" ]; then TDIR=`dirname $MYDIR` TARGET="${TDIR}/.zz${TBASE}.${YEAR}" # echo "$MYDIR $TARGET" if [ -d "$MYDIR/c...
2011 Jan 23
3
tar-ing subdirectories separately
I want to backup a directory using tar, but want separate tarballs for each subdirectory. For example: # ls dir1 subdir1 subdir2 subdir3 Will it possible to do it using only tar command? Or will I need another separate piece of logic/control? I thought of writing a shell script with three tar commands for each subdirectory, but that's not elegant way of doing it. Also, it may not scale as
2017 Apr 11
0
Good practices to make a Kerberos "mount.cifs" launched by root but with the credentials of another user
...proper way to mount with mount.cifs shares of "bob" with Kerberos authentication? If I have well understood, I have to set the envvar KRB5CCNAME and pass it to the mount.cifs command. So currently, I make this in the logon script (and it _works_): KRB5CCNAME=$(find /tmp/ -maxdepth 1 -mindepth 1 -type f -name 'krb5cc_*' -user bob) KRB5CCNAME=$KRB5CCNAME mount.cifs //samba.athome.priv/myhome /mnt/docs/ \ -o username=bob,domain=ATHOME.PRIV,sec=krb5i,cruid=bob But I have the feeling that I miss completely the "Kerberos" good practices by this way. What is the go...
2006 Apr 29
1
How to notify dovecot that maildir contents is changed by third-party helper ?
...X_DIRNAME find "$dir2check" -type f | while read f; do IsSpamFile "$f" && $doit $MV "$f" "${1}/$INBOX_DIRNAME" done } DoOnSubFolders() # $1 = dirmask to find, $2 = action to apply { find $VMAIL_TOPDIR/ -mindepth $FIND_DEPTH -maxdepth $FIND_DEPTH \ -type d -iname "$1" \ | while read d; do "$2" "$d" done } #========= Main ==============================================# DoOnSubFolders "${KILLSPAM_DIRNAME}?*" KillSpamI...
2012 Apr 13
1
list.dirs() full.names broken?
Hi, I am trying to list all the sub-directories in a particular directory and having a few issues. list.dirs seems to be slightly broken and/or poorly labelled. My issue appears to be the same as this one, from the archives: http://tolstoy.newcastle.edu.au/R/e16/help/11/11/1156.html Here is some of my current platform info: R version 2.15.0 (2012-03-30) Platform:
2006 Sep 20
1
R 2.4.0 pre-release in unstable may break some packages
Hi all, Today's apt-get update should bring the first R 2.4.0 snapshot packages. As with previous releases, I intend to renew the packages every week until the release of 2.4.0 by R Core that is scheduled for October 3. That way, R 2.3.1-3 will remain the version in testing. As you may have seen on the r-devel list, 2.4.0 will require that packages using S4 classes and the methods package
2009 Jan 09
3
Bash script to mark all mail read in Maildir + Dovecot
Hi, I'm writing a script to mark all new mail read, including all mail in folders, for my system which uses Maildir and Dovecot. The reason for this script is that I use Google Mail at work, which forwards to my SMTP/IMAP system at home. When I've finished my last check of GMail at work, I want to be able to quickly mark all mail as read at home too. Basically this script moves
2015 Apr 16
3
rsync --delete
Hi, Rsync. I want to help rsink delete a folder with a large number of files and folders. Tried this: rsync -a --no-D --delete /dev/null /home/rc-41/data/000000000000061/2015-04-01-07-04/ skipping non-regular file "null" rsync -a --no-D --delete /dev/zero /home/rc-41/data/000000000000061/2015-04-01-07-04/ skipping non-regular file "zero" That's how it turns out rsync -a
2010 Feb 24
5
New Storage related patches
This set of patches introduces support for multipath devices for storage. Comments and suggestions are appreciated. Mike
2012 May 26
1
I can't logon to the mail server using an NIS user account
...vers can be used, exiting May 26 13:17:01 prisa-appserver CRON[1678]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) May 26 13:39:01 prisa-appserver CRON[1775]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -cmin +$(/usr/lib/php5/maxlifetime) ! -execdir fuser -s {} 2>/dev/null \; -delete) May 26 13:46:08 prisa-appserver dovecot: imap-login: Disconnected (auth failed, 3 attempts): user=<prisa>, method=PLAIN, rip=192.168.128.14, lip=192.168.128.15, TLS May 26 13:46:59 pris...
2014 Mar 18
2
DNS error on startup Samba4 ADS mode DC
...4.4#53 Mar 17 17:38:50 mythtv-0 dnsmasq[1937]: using nameserver 8.8.8.8#53 Mar 17 17:38:50 mythtv-0 dnsmasq[1937]: using nameserver 127.0.0.1#53 Mar 17 17:39:01 mythtv-0 CRON[9943]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -cmin +$(/usr/lib/php5/maxlifetime) ! -execdir fuser -s {} 2>/dev/null \; -delete) Mar 17 17:39:07 mythtv-0 samba[9949]: [2014/03/17 17:39:07.015140, 0] ../source4/smbd/server.c:370(binary_smbd_main) Mar 17 17:39:07 mythtv-0 samba[9949]: samba version 4.1.6-SerNet-Ubuntu...
2010 May 13
1
Non-functional replacement...
This patch just includes the repo name in the subject.