11-16-2002
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi
I am writing a script which does an FTP of a set of files onto another machine and then would have to rename the files into a different extension on the source machine.
for example if the file being sent via FTP is sample.txt. Once the file has been transferred i would want to modify the... (2 Replies)
Discussion started by: kswaraj
2 Replies
2. Shell Programming and Scripting
Hello, my first post!
I'd appreciate help with this script, I'm new to this.
I have a media directory where I want to batch convert image file names from .img to .iso.
I've tried but get:
$ ./img2iso2.sh
./img2iso2.sh: line 13: syntax error: unexpected end of file :(
This is my... (10 Replies)
Discussion started by: Astrid
10 Replies
3. Homework & Coursework Questions
Interpreter should be bash.
1. The problem statement, all variables and given/known data:
I need to make a file (myText.txt or song.mp3 or cloud.tar.gz or whatever) and then change the extension to (myText.TXT , song.MP3, cloud.TAR.GZ).
It would be good if I can add all information in... (4 Replies)
Discussion started by: Kdenmen
4 Replies
4. UNIX for Dummies Questions & Answers
I searched the forum, but there was different type of rename.
Hello.
I have files in folder.
Like:
xxxxxxxx1.html
or
xxxxxxxx2.txt
or
xxxxxxxx3.tar.gz
and how to rename or change file extension case to
xxxxxxxx1.htm
or
xxxxxxx2.TXT
or (5 Replies)
Discussion started by: Sheldon
5 Replies
5. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Create a Shell script that looks for all text files in your home directory (including subdirectories).
List... (3 Replies)
Discussion started by: rollinator
3 Replies
6. UNIX for Dummies Questions & Answers
Hi everyone
When I'm starting my script I'm giving to it two parameters:
script.sh ext1 ext2
I need to copy all files in a directory fitting ext1, to the same folder, with the same names, but with the changed extension to ext2.
Till now I've just managed to do it for only 1 file, but I... (16 Replies)
Discussion started by: vacuity93
16 Replies
7. Shell Programming and Scripting
I have a filename with a bunch of periods that I want to replace with underscores, but I don't want to change the extension.
Ex: I want
file.test1.f-1.fig.eps
to be
file_test1_f-1_fig.eps
Using awk, the following line will replace ALL periods with underscores, but I want to leave the... (2 Replies)
Discussion started by: erinbot
2 Replies
8. Shell Programming and Scripting
I have a directory that contains several files, out of which some files are have an extra extension for example
file1.new.new.new
file2.new.new.new
file3.new.new.new
file4.new.new.new
i want to write a shell script that rename all such file with only single extension like
file1.new... (7 Replies)
Discussion started by: mukulverma2408
7 Replies
9. UNIX for Dummies Questions & Answers
Hi All,
I want to fetch the files based on .done file and display the .csv files and Wil take .csv files for processing.
1.I need to display the .done files from the directory.
2.next i need to search for the .Csv files based on .done file.then move .csv files for the one directory
... (2 Replies)
Discussion started by: girija.g6
2 Replies
10. Shell Programming and Scripting
Hi Guys,
i am trying to redirect a file wherein i need to change the extension of the file from .sh to .tmp, but getting an error
a=test.txt
sh test.txt > path/$(basename "$a" .sh).tmp
i need
test.tmp
---------- Post updated at 02:09 AM ---------- Previous update was at... (3 Replies)
Discussion started by: rohit_shinez
3 Replies
ABIWORD(1) General Commands Manual ABIWORD(1)
NAME
abiword -- flexible cross-platform word processor
SYNOPSIS
abiword [OPTIONS] [FILENAME...]
DESCRIPTION
AbiWord is a full-featured, efficient word processing application suitable for a wide range of word processing tasks, and extensible with a
variety of plugins. It integrates with enchant(1) to provide spell-checking.
OPTIONS
-g WxH[+X+Y], --geometry=WxH[+X+Y]
Specifies window geometry at startup.
-E PLUGIN, --plugin=PLUGIN
Execute the specified plugin instead of the main application.
--import-extension=EXT
Import the given file as if it had extension EXT, overriding automatic file type detection.
-u PROFILE, --userprofile=PROFILE
Use PROFILE instead of the default ~/.AbiSuite/AbiWord.Profile to read and store settings.
-t DEST, --to=DEST
Convert the given file to another format, writing the result to DEST. The format of DEST is determined by its extension.
See also --to=FORMAT and --to-name.
-t FORMAT, --to=FORMAT
Convert the given files(s) to the given format. Unless explicitly specified with --to-name, the original filename will be used (with
a different extension, if necessary). See also EXAMPLES.
The more popular values for FORMAT include:
abw Abiword XML format (zabw for gzip, bzabw for bzip2 compression)
dbk DocBook XML
doc Microsoft Word binary format
docx Office Open XML (newer Microsoft Word versions)
html Hypertext Markup Language
kwd KWord
odt OpenDocument Text
pdf Portable Document Format
rtf Rich Text Format
sxw OpenOffice.org Writer 1.0
txt Plain text
--to-name=DEST
Only useful in conjunction with --to=FORMAT. Specifies where the converted document shall be written to.
--verbose=LEVEL
Set level of verbosity [0-2], 2 giving the most detailed output.
-h, --help
Display a short help message and exit.
--version
Report the version of AbiWord.
EXAMPLES
To convert the document example.abw to RTF:
abiword --to=rtf example.abw
The resulting file will be named example.rtf.
To print a document:
abiword --to=ps --to-name=fd://1 FILENAME | lp
REPORTING BUGS
Report bugs to the Bugzilla bug tracking system at <http://bugzilla.abisource.com>.
SEE ALSO
enchant(1)
HISTORY
AbiWord was started in 1998 by AbiSource Inc., a company founded by SourceGear corporation. The initial plan was to build a free office
suite named AbiSuite, encompassing word processing, spreadsheet and presentation applications. As they didn't have a usable product when
their venture capital was up, the code already developed (namely AbiWord) was made open source. AbiWord development was subsequently taken
over by volunteers and is driven by the community to date.
AbiWord 2.8 2009-12-11 ABIWORD(1)