On Wed, Feb 28, 2007, Vince wrote:
Josh Tolbert wrote:
On Wed, Feb 28, 2007 at 05:12:58PM -0600, Paul Schmehl wrote:
I'd like to cron a process that looks at a certain folder every day and
changes the perms on a directory if they aren't what I want.
Unfortunately, the people creating the
On Wed, Feb 28, 2007 at 03:38:24PM -0800, Bill Campbell wrote:
On Wed, Feb 28, 2007, Vince wrote:
Josh Tolbert wrote:
On Wed, Feb 28, 2007 at 05:12:58PM -0600, Paul Schmehl wrote:
I'd like to cron a process that looks at a certain folder every day and
changes the perms on a directory if
Josh Tolbert wrote:
On Wed, Feb 28, 2007 at 11:33:14PM +, Vince wrote:
or just
find /path/to/dirs -type d -exec chmod 755 {} \;
should do it.
Fair enough; I generally prefer the xargs method in case I have to do any more
processing later. Also, xargs' batching may potentially save
On Wed, 28 Feb 2007 17:12:58 -0600
Paul Schmehl [EMAIL PROTECTED] wrote:
I thought I could just do this:
chmod 755 `find /path/to/dirs -type d`
but find returns a directory name of Day, Day, Day, which (obviously)
doesn't work.
And for completeness sake, if you want to change the
I'd like to cron a process that looks at a certain folder every day and
changes the perms on a directory if they aren't what I want.
Unfortunately, the people creating the folders are Windows folks using
WinSCP, and so they create folders with spaces in them. (E.g. Day 1, Day
2, etc.)
I
On Wed, Feb 28, 2007 at 05:12:58PM -0600, Paul Schmehl wrote:
I'd like to cron a process that looks at a certain folder every day and
changes the perms on a directory if they aren't what I want.
Unfortunately, the people creating the folders are Windows folks using
WinSCP, and so they
Josh Tolbert wrote:
On Wed, Feb 28, 2007 at 05:12:58PM -0600, Paul Schmehl wrote:
I'd like to cron a process that looks at a certain folder every day and
changes the perms on a directory if they aren't what I want.
Unfortunately, the people creating the folders are Windows folks using
--On Wednesday, February 28, 2007 17:16:35 -0600 Josh Tolbert
[EMAIL PROTECTED] wrote:
On Wed, Feb 28, 2007 at 05:12:58PM -0600, Paul Schmehl wrote:
I'd like to cron a process that looks at a certain folder every day and
changes the perms on a directory if they aren't what I want.
On Wed, Feb 28, 2007 at 11:33:14PM +, Vince wrote:
or just
find /path/to/dirs -type d -exec chmod 755 {} \;
should do it.
Fair enough; I generally prefer the xargs method in case I have to do any more
processing later. Also, xargs' batching may potentially save you a bit of
time, but I