On Thu, Oct 23, 2003 at 08:25:20AM -0600, Steve D wrote:
> On Wed, Oct 22, 2003 at 10:43:50PM -0600, Scott Gerhardt wrote:
> > I am having trouble combining the tar and find command. I want to
> > tar and
> > delete all .bak,.Bak,.BAK files.
> >
> > I am using the following command but keep receiv
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Thursday 23 October 2003 15:34, Matthew Seaman wrote:
> On Wed, Oct 22, 2003 at 10:43:50PM -0600, Scott Gerhardt wrote:
[skipped]
>
> The problem is that you have file/directory names like 'ROOF LAYOUTS'
> which contain spaces and possibly
Steve D <[EMAIL PROTECTED]> wrote:
> Would the following approach also work? (Have sed surround each
> item returned by the find command with single quotes?)
> ---
> #! /bin/bash
> set +x
> TAR_DIR=/home/tarbackups;
> FILES_DIR=/home/common;
> tar --remove-files -cvzpf $TAR_DIR/bak_files_`date +%F
On Wed, Oct 22, 2003 at 10:43:50PM -0600, Scott Gerhardt wrote:
> I am having trouble combining the tar and find command. I want to
> tar and
> delete all .bak,.Bak,.BAK files.
>
> I am using the following command but keep receiving errors.
[...]
> The script is as follows
> ==
On Thu, Oct 23, 2003 at 12:34:40PM +0100, Matthew Seaman wrote:
> On Wed, Oct 22, 2003 at 10:43:50PM -0600, Scott Gerhardt wrote:
> >
> > I am having trouble combining the tar and find command. I want to tar
> > and
> > delete all .bak,.Bak,.BAK files.
> >
> > I am using the following command b
On Wed, Oct 22, 2003 at 10:43:50PM -0600, Scott Gerhardt wrote:
>
> I am having trouble combining the tar and find command. I want to tar
> and
> delete all .bak,.Bak,.BAK files.
>
> I am using the following command but keep receiving errors. The tar
> command
> appears to be receiving a trun
I am having trouble combining the tar and find command. I want to tar
and
delete all .bak,.Bak,.BAK files.
I am using the following command but keep receiving errors. The tar
command
appears to be receiving a truncated file/path (some of the time, but not
always), and trying to procecss the fi