Fedora Linux Support Community & Resources Center
Prev Previous Post   Next Post Next
  #1  
Old 24th March 2012, 03:53 PM
glennzo Offline
Un-Retired Administrator
 
Join Date: Mar 2004
Location: Salem, Mass USA
Age: 57
Posts: 14,780
linuxchrome
What's wrong with this tar command?

Run from a script
PHP Code:
tar -czvf $BACKUP_DIR/$BACKUP_NAME 
I get the following greeting:

PHP Code:
tarYou may not specify more than one `-Acdtrux' or `--test-label' option
Try `tar --help' 
or `tar --usage' for more information. 
In the script ...
PHP Code:
BACKUP_DIR="/mnt/disk3/backup"
BACKUP_NAME="scripts-`date +%Y%m%d`.tar.gz" 
__________________
Glenn
The Bassinator © ®

[SIGPIC][/SIGPIC]
Laptop: Just a couple of old single core units
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / Kingston HyperX 3K SSD 240GB SATA 3.0 / 1TB SATA / EVGA GeForce 8400 GS 1GB
Reply With Quote
 

Tags
command, tar, wrong

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
wrong execution of command..... mogli Using Fedora 1 5th August 2009 03:48 AM
Command Df Shows Wrong Available Space? dealmaker Using Fedora 5 15th October 2005 06:25 AM
"Hard link count is wrong for /proc" error using find command ChasJaxFL Using Fedora 5 13th July 2005 09:07 PM


Current GMT-time: 17:57 (Friday, 31-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Weener Travel Photos - Winschoten Travel Photos - Battle Creek