I am not sure what you are trying to accomplish here, but as you say, this is a skeleton. But the first argument to ssh is a hostname, and scp needs a source and destination file(s), so did you mean:
Also, why the call to a sh?
Hi friends,
I am using Sun Solaris 5.9. I want to take backup of 3 folders which are 50 GB in size totally using tar command on tapes. I am having DAT 72 tape. After initiating tar command (tar -cvf /dev/rmt/0n /tmp/dir1/ /tmp/dir2/ /tmp/dir3/), tarring is stopped after 10 hrs (approx) and i am... (7 Replies)
I am taring to disk and get this message:
tar: write error: unexpected EOF
This message is normally associated with tape devices, not disk.
Here is the syntax:
tar -cf <tarfilename> /dir
Have you seen this message on disk tars? (4 Replies)
I ran the following scripts and everytime i get the errot as follows
Line 54: unexpected EOF while looking for matching ','
line 57 syntex error unexpected end of file#!/bin/ksh
set -x
BKUP_DIR=/u03/backups/abu/nightly_backup
LOG_FILE=/u03/backups/abu/backup.log
ORACLE_HOME=... (9 Replies)
I need archive data from some tar files. I use the command "tar xvf
filename". For about half of the files I get the error message
"tar:read error: unexpected EOF".
The number of bytes extracted comes very close to the size of the
tar file.
An example:
972434779 Jan 10 01:01... (4 Replies)
Hi All
Can someone pls guide me if there any utility to compress file on windows & uncompress on vxworks
I tried as -
- compressed some folders on windows ... i created .tar ( to maintain directory structure ) and compressed to .gz format.
- on VxWorks i have uncompressed it to .tar... (1 Reply)
Hi,
I make a tar archive:
tar -czvf /path_to/cucu.tar.gz /path/dir_to_archive/
In the archive the /path/dir_to_archive/ is maintained for every file.
I need that the archive to be made without the /path/dir_to_archive/ to contain only the files in /path/dir_to_archive/.
Thanks,... (4 Replies)
hello everyone...im having this problem with unexpected EOF with line 85 which is..i cant see whats wrong with it..can any1 plz help me out.
read -p "$p1 please enter the number of tries you wish to have:" lifeline
function main()
{
guessnum=0
read -p "Please enter if its sinle player game... (1 Reply)
tar: write error: unexpected EOF
I usually encounter this when I'm doing backup to Dat72 tape. Here's the command
gzip all files in a directory then tar cvfp /dev/rmt/0n files. Not all files are copied. Any things I should look at? Directory size?
---------- Post updated at 05:20 PM... (1 Reply)
Hi Guys,
I am facing a strange issue
while doing parallel (using & for background) scp/untar operation from my unix box to multiple unix boxes...
I am getting
tar : unexpected EOF in archive error
the code is as follows.,,,
for i in 10
do
sh -c "scp <command> ; ssh tar -xf <tar> -C... (4 Replies)
Hello
I use opensuse build service to build packages (oh surprise !)
I have integrate a command in a spec whose worked and now this exit with:
unexpected EOF while looking for matching `"'
Command:
if \.").mk ]; then
ln -s $(pwd)/mozilla/security/coreconf/Linux2.6.mk \
... (5 Replies)