09-09-2008
Thanks dennis
regards,
Sandy
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have an order file that gets updated periodically on a ftp server.
The file format is "number one-day of the quarter-file number". For example,
the format would look like this for today and would increment as such.
1-26-1
1-26-2
1-26-3
etc
After I grab each oder file, I will rename... (9 Replies)
Discussion started by: cstovall
9 Replies
2. Shell Programming and Scripting
I am trying to ftp some files from a certain directory, but i got an invalid command. does anybody know why i got this error?
ftp -v -i -n <<SCRIPT
open servername
user
username password
cd /server/logs
for file in MCWAS*
do
put ${file} /home/test/${file}
done
bye
SCRIPT (2 Replies)
Discussion started by: caesarkim
2 Replies
3. UNIX for Dummies Questions & Answers
Hi ,,
I am wrting a shell script to ftp a file from remote server but its giving some problem to me.can you help me in debugging this.
#!/usr/bin/ksh
HOST="some ip"
user="user_name"
passwd="password"
ftp -n $HOST >>END_SCRIPT
USER $user
$passwd
binary
prompt
get... (3 Replies)
Discussion started by: namishtiwari
3 Replies
4. Shell Programming and Scripting
Can I ftp to put file with shell script(as bath file) ?
Plz give the simple code to do that.
My script look like that
#!/bin/sh
echo "Start ftp"
ftp temphost <<EOF
put file
quit
EOF
# end
This code ignore username & password but I need to input.
How to input username &... (8 Replies)
Discussion started by: aungomarin
8 Replies
5. UNIX for Advanced & Expert Users
HI ALL
i am writing a shell script in which i have to use FTP command like.
FTP <ip address>
cd xyz
mget*
bye
but i am not able to perform any command from shell script.
once the control goes to FTP, i again have to type all the things.
i just want my shell script to take care of the... (8 Replies)
Discussion started by: infyanurag
8 Replies
6. Shell Programming and Scripting
Hi All,
I want to make a ftp call using a separate file where the ftp commands will reside.
Please find below the details:
I have 2 files Sample1.sh and Properties
Properties
---------
<username>
<password>
.... other ftp commands
Sample1.sh
----------
ftp -v <servername> <... (1 Reply)
Discussion started by: pickpeters
1 Replies
7. Shell Programming and Scripting
Hi,
What i would like to do is to use a shell script connect to a remote computer and download files from a specific directory. I wrote the following script.
#!/bin/sh
HOST='IP'
USER='yourid'
PASSWD='yourpw'
FILE='*.txt'
REMOTEPATH=/incoming/MSC/
ftp $HOST <<END_SCRIPT
user $USER... (3 Replies)
Discussion started by: chriss_58
3 Replies
8. UNIX for Dummies Questions & Answers
Hi
I am new in UNIX field. I don't know if I am posting in right forum or not. And I have also found out that there are so many posts about ftp shell scripting. I have tried those but actually having some problem.
Well, my script should do the following..... It finds files( the filename ended... (3 Replies)
Discussion started by: abhishek_510
3 Replies
9. Shell Programming and Scripting
I am running the following on linux (on a mac):
filename="/Users/thisfilename.txt"
hostname="ftp.mysite.com"
username="myusername"
password="mypassword"
echo '=======FTP========'
ftp -un $hostname <<EOF
quote USER $username
quote PASS $password
binary
put $filename
quit
EOF
I... (4 Replies)
Discussion started by: globalnerds
4 Replies
10. Shell Programming and Scripting
so i got this request to do this:
- Script should check for the file ever 15 minutes on the FTP server…if the file is not found, then the whole script exits. File will only be created one a week at random.
i have gotten this far, but am kind of stuck, also sleep command doesnt work... (3 Replies)
Discussion started by: zapatur23
3 Replies
LEARN ABOUT DEBIAN
odt2txt.odt2txt
ODT2TXT(1) User Commands ODT2TXT(1)
NAME
odt2txt - a simple converter from OpenDocument Text to plain text
SYNOPSIS
odt2txt [OPTIONS] FILENAME
DESCRIPTION
odt2txt is a command-line tool which extracts the text out of OpenDocument Texts, as produced by OpenOffice.org, KOffice, StarOffice and
others.
odt2txt can also extract text from some file formats similar to OpenDocument Text, such as OpenOffice.org XML (*.sxw), which was used by
OpenOffice.org version 1.x and older StarOffice versions. To a lesser extend, odt2txt may be useful to extract content from OpenDocument
spreadsheets (*.ods) and OpenDocument presentations (*.odp).
The FILENAME argument is mandatory.
OPTIONS
--width=WIDTH
Wrap text lines after WIDTH characters. The default value is 65, which means that any words which would extend beyond column 65 are
moved to a new line.
If WIDTH is set to -1 then no lines will be broken
--output=FILE
Write output to FILE and not to standard output.
--subst=SUBST
Select which non-ascii characters shall be replaced by ascii look-a-likes. Valid values for SUBST are all, some and none.
--subst=all Substitute all characters for which substitutions are known
--subst=some Substitute all characters which the output charset does not contain This is the default
--subst=none Substitute no characters
--encoding=X
Do not try to autodetect the terminal encoding, but convert the document to encoding X unconditionally To find out, which terminal
encoding will be used in automatic mode, use --encoding=show
--raw Print raw XML
--version
Show version and copyright information
COPYRIGHT
Copyright (C) 2006,2007 Dennis Stosberg <dennis@stosberg.net>
Uses parts of the kunzip library, Copyright 2005,2006 by Michael Kohn
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2 as
published by the Free Software Foundation
SEE ALSO
Homepage
http://stosberg.net/odt2txt/
odt2txt 0.4 2008-06-23 ODT2TXT(1)