What "ssh commands" are you using? My guess is that they are commands that can be run from any UNIX command line, and you just happen to be using SSH to execute them.
Get a manual on 'tar', and one on 'gzip' for info on the "tar.gz" file format. One way to do it is this:
This will compress the "mydir" directory and store in a "tgz" file. To decompress,
Our End of Day backup routine uses following script.
start End-of-day
compress $BASE TO /home/compdir
write /home/compdir to DATTAPE
end
where
$BASE=/home2/Rev83
DATATAPE=/dev/rmt/ctape1
write=cpio (not sure about parameters)
since I'm new to UNIX, i dont know how to restore data... (1 Reply)
can someone point me to where it explains how to set the right commands wd ssh?
cat something | while read h; do awk 'BEGIN {FS="\n"; RS=""; ORS="\n\n"} {if ($0~/'$h'/) print hdrvar,"\n",$0 }' /something/somedata ; done
above works in when ssh'ing into linux machine invoke like this
ssh... (10 Replies)
hello,
when using ssh,
ssh user@<host> do_collect_info.sh
I have this error:
do_collect_info.sh: ifconfig: not found
the error does not appear when I run the sh script locally (no ssh) on the host and with the same user.
any idea why?
thanks. (1 Reply)
I am using Net::SSH::Expect to connect to the device(iLO) with SSH. After the $ssh->login() I'm able to view the prompt, but not able to send any coommands.
With the putty I can connect to the device and execute the commands without any issues.
Here is the sample script
my $ssh =... (0 Replies)
Hi All !
We have to compress a big data file in unix server and transfer it to windows and uncompress it using winzip in windows.
I have used the utility ZIP like the below.
zip -e <newfilename> df2_test_extract.dat
but when I compress files greater than 4 gb using zip utility, it... (4 Replies)
I've struggled to find a solution to this problem from searching so I thought I'd write a post to see what can be done.
I'm attempting to connect and run commands on 'server2' but because of security limitations I cannot access it directly. I can however ssh into 'server1' and then into... (7 Replies)
I'm new to perl. I have a input file with pipe delimited lines which have server_name, and file names as fields. The file names have wild card (*) in the input feed file.
The actual file names will be suffixed with timestamps.
Ex: Actual files in remote servers
server_1/abc_20110801.txt... (3 Replies)
Is there a way to transfer my sudo password via ssh so that I can copy files remotely and pass them locally, so:
cat sudo-passwd-file|ssh -t user@10.7.0.180 'sudo find / -depth|cpio -oacv|gzip' > /path/to/dir/file.cpio.gz
I am in the process of a creating a script. Everytime I try and just... (16 Replies)
Sorry for the basic question here, but I can't seem to find an answer anywhere. I want to alias a command that will ssh and then open up bbedit all in 1 command.
alias bbb 'ssh NAME@SERVER bbedit'
returns:
bash: bbedit: command not found
It returns this same thing for anything except... (1 Reply)
Discussion started by: busdriver
1 Replies
LEARN ABOUT DEBIAN
image::exiftool::bzz
Image::ExifTool::BZZ(3pm) User Contributed Perl Documentation Image::ExifTool::BZZ(3pm)NAME
Image::ExifTool::BZZ - Utility to decode BZZ compressed data
SYNOPSIS
This module is used by Image::ExifTool
DESCRIPTION
This module contains definitions required by Image::ExifTool to decode BZZ compressed data in DjVu images.
NOTES
This code is based on ZPCodec and BSByteStream of DjVuLibre 3.5.21 (see additional copyrights and the first reference below), which are
covered under the GNU GPL license.
This is implemented as Image::ExifTool::BZZ instead of Compress::BZZ because I am hoping that someone else will write a proper
Compress::BZZ module (with compression ability).
AUTHOR
Copyright 2003-2011, Phil Harvey (phil at owl.phy.queensu.ca) Copyright 2002, Leon Bottou and Yann Le Cun Copyright 2001, AT&T Copyright
1999-2001, LizardTech Inc.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
REFERENCES
<http://djvu.sourceforge.net/>
<http://www.djvu.org/>
SEE ALSO Image::ExifTool::DjVu(3pm), Image::ExifTool(3pm)perl v5.12.4 2011-01-03 Image::ExifTool::BZZ(3pm)