FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 02-06-2008, 07:40 AM
Dubh Aingeal
 
Default Exclude issues.

Ok the script runs great now except for one minor issue. My exclude does
not seem to work. The tar line looks like:

$TAR $NEWER -cf $BACKUPDIR/$COMPUTER-$DM.tar --exclude=$BACKUPDIR
$DIRECTORIES

I have tried the --exclude as:

--exclude $BACKUPDIR $DIRECTORIES
$DIRECTORIES --exclude $BACKUPDIR
--exclude=$BACKUPDIR $DIRECTORIES
$DIRECTORIES --exclude=$BACKUPDIR



Yes I know it would be better to use a directory not in the path, but
the users who will be using it don't have access to directories outside
their home directory. So getting this exclude right is kinda a script
breaker. Cause in about a week it will pretty much fill everyones home
directories.


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 10:47 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org