similar to: ls returns file doesn't exist, find finds it??

Displaying 20 results from an estimated 9000 matches similar to: "ls returns file doesn't exist, find finds it??"

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
2008 Jun 09
4
Copying files from specific date.
Dear all, Does anyone aware of any utility to copy files which are created or modify form a specific date ?. Thanks Rajeev R. Veedu -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20080609/ae761b2c/attachment-0002.html>
2015 Feb 04
3
Resubmission after N days
Am 04.02.2015 um 07:49 schrieb Steffen Kaiser: > On Wed, 4 Feb 2015, Thomas G?ttler wrote: > >> I would like to implement a 43Folder system[1] with dovecot and a mail user agent. > >> Use case: > >> - I have a new mail in my inbox. I read it and see that I can't handle it now. I want to handle this mail in 5 days. >> - Now I want to have some sort of
2015 Feb 04
8
Resubmission after N days
Hi, I would like to implement a 43Folder system[1] with dovecot and a mail user agent. Use case: - I have a new mail in my inbox. I read it and see that I can't handle it now. I want to handle this mail in 5 days. - Now I want to have some sort of resubmission: the mail should be moved to a different location for these 5 days. - After 5 days the mail should be moved to my inbox again. How
2011 May 17
3
xargs with max each line / argument
How do I pass xargs input one line at a time to subsequent command? For example I want to install rubygems by reading a text file as shown below, however the arguments are getting passed all at once to the 'gem install' command. I hace tried -L (max-lines) and -n (max args) options, but it didn't work. What's missing here?? Any help? $ cat gem.list.1 mkrf rake xmlparser $ awk
2013 Aug 05
2
Fileoperations in Maildir – problematic or okay?
Hi, I'm wondering: Is it a problem to move and delete files inside a dovecot-managed maildir? For example: I have a folder ~/.maildir/.Sub1.Start/cur and a folder ~/.maildir/.Sub1.Start.old/cur and like to regularly move old mails from the first to the second one. Can you create a cron job saying something like: find ~/.maildir/.Sub1.Start/cur -mtime +5 -exec mv {}
2010 Feb 03
7
Forcibly emptying a POP3 mailbox
Hello, I've recently saw a discussion on this list, about a standardised way of emptying POP3 mailboxes on the server - but no solution came up. Please provide a suggestion for the following situation: - I am running a stock POP3 dovecot server, on Fedora 12 (dovecot version 1.2.9) - passwd-file authentication via /etc/imap.passwd - users are virtual, sharing the same UID/GID; -
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
2011 Mar 14
2
NFS still serving old directory after rename
Howdy, I have renamed a directory on NFS ver 3 server and then created a new directory again with the same name. # mv dir dir-hosed # mkdir dir The directory is auto-mounted on client side. I had unmounted directories on client side before making above changes. Now when I try to mount back 'dir', I still see old files and not new empty dir. Am I missing something here in the NFS config?
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
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
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
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
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?
2015 Mar 20
1
Centos 6: setfacl: .: Argument list too long
On 20.03.2015 02:14, muiz wrote: > Dear all, > > > I have a Centos 6 (64bit) server used for samba and ACL control. > There has a folder which a lot of user can access, when I add a new user's ACL, but failed, do you know how to resolve this problem? use xargs like in: |find . -name "*.pdf" -print0 | xargs -0 RUNACOMMAND robert | > > > [root at s1
2009 May 19
9
Hang at 5:34 pm EST
Some at 5:34 pm EST DAILY, all my call get disconnect. I tried RE-INSTALLATION, I tried Reinstallation on a virgin HDD, but its same. I tried changing VOIP provider I tried changing Internet Provider..But no help.. What could be the reason ? Here are my enties of crontab : ### recording mixing/compressing/ftping scripts 0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57 * * * *
2009 Oct 05
2
gnu --target-dir, how to fake with rsync?
Is this in rsync and I just can't find it, or if not, is there a way to fake this OR, third possibility, is anyone working to add it? For those who've never used this option - for the 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
2014 Feb 11
2
Public folder doesn't work
Hey, I have some issues with dovecot, because the public folder won't show up in Mail accounts. Dovecot is installed via zentyal 3.3. I tried several settings, but I dont get it running. What I tried is adding this to my dovecot.conf file # User's private mail location mail_location = maildir:~/Maildir # When creating any namespaces, you must also have a private namespace: namespace {
2007 Nov 20
2
manipulating files and directories with spaces
Hi, This might be a little O.t. so private responses please. I've got apache and samba running on a CentOS5 box enabling windows users to add web content. My issue is i've had to restore some backup data that was previously archived. The permissions aren't matching up so i'm wanting to use find and xargs to change them appropriately. Normally i do: find . -type type
2008 Oct 17
7
ls and rm: "argument list too long"
Since when is there a limit in how long directory listings CentOS can show (ls), or how large directories can be removed (rm). It is really annoying to say, for example rm -rf /var/amavis/tmp and get only "argument list too long" as feedback. Is there a way to go round this problem? I have CentOS 5.2. - Jussi -- Jussi Hirvi * Green Spot Topeliuksenkatu 15 C * 00250 Helsinki *