Displaying 20 results from an estimated 9000 matches similar to: "manipulating files and directories with spaces"
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
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
2011 Feb 24
4
ls returns file doesn't exist, find finds it??
Howdy,
I am getting some errors with find and ls command - such that find is
able to see a file whereas ls says the file doesn't exist. Initially I
was trying find and ls together as:
# find ./ -type f -mtime +15 | xargs ls
Similar behavior is seen even when I execute both commands separately.
Any thoughts on what might be wrong here?
--
thanks,
neubyr
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
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
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
2005 Dec 30
1
streaming to dialup users gives low quality audio
Hi,
Currently streaming ogg isn't practical in this situation. That was one
of the first things i checked into. WHen i looked i didn't see a streamer
that did both ogg and mp3.
Thanks.
Dave.
----- Original Message -----
From: "Daniel Ballenger" <lpmusix@gmail.com>
To: "Dave" <dmehler26@woh.rr.com>
Cc: <icecast@xiph.org>
Sent: Friday, December
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 {
2006 Aug 22
1
rsync performance
We're using rsync 2.6.3 to sync two DELL PowerEdge servers with both
Redhat-EL4 and otherwise nearly identical hardware (2.8/3GHz, 1GB RAM
each). The source machine has a SCSI-RAID1, the destination a
SATA-RAID1 disk attached.
There are 5 filesystems which are rsynced via ssh. On the smaller
filesystems with ~200.000 files/7GB, rsync takes 1-3 minutes:
lion:/atg/ ========= Tue Aug 22
2007 May 28
3
unattended install via nfs
Hello,
Does anyone have a guide for setting up an nfs server for unattended
deployment of centos5? Basically what i want to do is boot a system from CD
media, pass a boot parameter nfs, and ks= options then walk away, the box
goes out to the nfs server, finds the kickstart file, reads, and does it.
I've got several machines and i'd rather not do manual installs.
Thanks.
Dave.
2011 Aug 03
1
PDC forgot it was part of domain... "official" (ha!) samba hack around to fix...
Among various problems since I upgraded to 3.6 (none of which got answered
really, -- so I backgraded to 3.5.10 and started debugging from there,
considering 3.6.0 too unstable/too incompatible for 'whatever' reason...
One of the probs I had was 'root' couldn't use "net rpc" <anything> --
kept getting auth failures.
Wasn't the passwd, -- could reset it via
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
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
2007 Jun 16
1
samba3, nfs mounted directory, and dfs
Hello,
I hope this is the right place to ask this one.
I've got a FreeBSD 6.2 machine acting as an nfs server. It's exporting a
home directory to several machines. On the server that home directory has a
symlink in it to another directory on the filesystem. As long as users are
on the server they can view the directory symlinked to, but if viewing
through samba, they're
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
2008 Jan 20
3
centos authentication via ldap produces no name shell prompt
Hello,
I'm trying to set up centos 5.1 to authenticate against an openldap
server. I've got the authentication working, in that i can log in as a user
contained within the ldap database but not in the system passwd/group files.
The problem is instead of a prompt that for example looks like this:
(username)@hostname:~/$
i'm getting this:
(I have no name)@hostname:~/$
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
2006 Aug 03
2
(no subject)
On Thu, August 3, 2006 15:28, David Jonas wrote:
> On Thu, 2006-08-03 at 15:07 -0400, Scott Zahn wrote:
>> Hey everyone, I'm trying version 1.0rc2, via the rpm at ATrpms. I'm running on CentOS
>> 4.3 on an Opteron system. I have this running stably on a 32 bit system, but I'm
>> crashing constantly on a 64 bit system.
>>
>> Here's what I'm
2006 Jun 25
4
converting mp3's to aac+ or ogg
Hello,
I've got a FreeBSD 6 machine running icecast2 and ices0streaming four
different streams of mp3's. Now i have a need to stream the same content as
either aac+ or ogg vorbis whichever would be easiest to set up and give the
best quality. I want these new streams to handle both broadband and dialup
users without sacrificing quality. My problem is i really really do not want
to
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>