02-08-2016
Take a look at the -i flag in wget to download from a file.
This User Gave Thanks to Aia For This Post:
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
The script below is giving me grief! The error message says
/download.bash: line 16: syntax error near unexpected token `else'
./download.bash: line 16: `else wget "http://downloads.sourceforge.net/hibernate/hibernate-3.2.5.ga.zip?modtime=1185893922&big_mirror=1"
'
I think it must be a... (1 Reply)
Discussion started by: siegfried
1 Replies
2. Shell Programming and Scripting
Hi,
I'm trying to write a script that reads filenames from a file and use these filenames in a loop. The filenames are all on one line and the problem is that these filenames have wildcards like * and braces like in them.
Right now what I'm doing is something like this:
echo "reading from... (0 Replies)
Discussion started by: warp17
0 Replies
3. Shell Programming and Scripting
I'm trying to search all .odt files in a directory for a string in the text of the file.
I've found a bash script that works, except that it can't handle whitespace in the filenames.
#!/bin/bash
if ; then
echo "Usage: searchodt searchterm"
exit 1
fi
for file in $(ls *.odt); do
... (4 Replies)
Discussion started by: triplemaya
4 Replies
4. Shell Programming and Scripting
I want to create a temp file which is named based on a search string. The search string may contain spaces or characters that aren't supposed to be used in filenames so I want to strip those out.
My thought was to use 'tr' with but the result is the opposite of what I want:
$ echo "test... (5 Replies)
Discussion started by: mglenney
5 Replies
5. Shell Programming and Scripting
Hi,
I need help regarding below concern.
There is a script and it has 7 existing files(in a path say,. usr/appl/temp/file1.txt) and I need to create one new blank file say “file_count.txt” in the same script itself.
Then the new file <file_count.txt> should store all the 7 filenames and... (1 Reply)
Discussion started by: pr293
1 Replies
6. IP Networking
Hello All,
I have a Virtual Machine that I basically use for just testing stuff on. It is running SLES 11.1 and Apache2.
I was able to get Apache2 set-up and working... I was able to insert a basic index.html page (i.e. a simple "Hello World" html page)
just to check and make sure I can... (4 Replies)
Discussion started by: mrm5102
4 Replies
7. Shell Programming and Scripting
hi,
how can i take the file names from a directory and store only the filenames in the file.
suppose i have a directory which contains the following files and subdirectories.
$ ls -ltr
total 16
-rw-rw-r-- 1 adm etc 4 Aug 6 20:37 s1.txt
-rw-rw-r-- 1 adm etc 4 Aug 6 20:37 s2.txt... (11 Replies)
Discussion started by: Little
11 Replies
8. Shell Programming and Scripting
I am attempting to write a bash that starts by using wget and getting the following errors:
Stand-alone code that works:
wget -O getCSV.txt http://172.24.xxx.xxx/data/getCSV.csv
c:\cygwin\home\cmccabe\NGS.sh: line 2: $'\r': command not found
: No such file or directorysh: line 3:... (2 Replies)
Discussion started by: cmccabe
2 Replies
9. Shell Programming and Scripting
In the bash below when the program is opened the download function runs and downloads the getCSV file and on the screen "Downloading getCSV.csv:%" displays and when it completes the menu function is called. However, as of now the bash opens and closes after a few seconds and I'm not sure... (4 Replies)
Discussion started by: cmccabe
4 Replies
10. Shell Programming and Scripting
I have a collection of directories, for example as below
I want to create a loop that goes in the first directory and picks up the *hhz*.sac.pzs
filename in a variable, and the other files matching *hhz*.sac in another variable (however I do not want to pick the *hhz*.sac.pzs). This is because... (4 Replies)
Discussion started by: kristinu
4 Replies
xcfa(1) Manual: Xcfa xcfa(1)
NAME
xcfa - GTK+ Implementation of the GNU shell command.
SYNOPSIS
xcfa [OPTION]... [FILE]...
-h, -help
Displays this help section and exits.
-version
Displays the version of the program and exits.
-verbose
Activate verbose mode
-systray
Activate systray mode
DESCRIPTION
Interface contains console tools (cdparanoia, lame, oggenc, ...).
Allows extraction of audio from DVD to .wav format.
Allows extracting audio from CD to formats such as: wav, mp3, flac, ogg, m4a, mpc, ape.
Allows encoding audio to: wav, mp3, flac, ogg, m4a mpc, ape.
Allows encoding the .wma format to: wav, mp3, flac, ogg, m4a mpc, ape.
Allows cutting of files.
Allows management of common file-types before converting.
Allows management of bitrates, frequencies, and channels.
Allows creation of CD covers.
Developed with Gtk2 and Glade and runs under the X window system on the GNU platform.
USAGE
After the first launch, go to the Options tab and modify the settings to your liking.
ADDING THE GPG KEY
With sudo:
$ wget http://download.tuxfamily.org/xcfaudio/download/xcfaudio.key.asc -O - | sudo apt-key add -
Without sudo:
$ su root
[Enter the password for root.]
# wget http://download.tuxfamily.org/xcfaudio/download/xcfaudio.key.asc -O - | apt-key add -
Another solution with root:
# gpg --keyserver subkeys.pgp.net --recv 00B21603DD5C7A79
# gpg --export --armor 00B21603DD5C7A79 | sudo apt-key add -
SOURCES.LIST
Add the following lines to your [ /etc/apt/sources.list ] file for automatic updates:
## Xcfa for i386 and amd64
deb http://download.tuxfamily.org/xcfaudio/xcfa dev contrib
deb-src http://download.tuxfamily.org/xcfaudio/xcfa dev contrib
COMPLEMENTARY PACKAGE INSTALLATION
:
See the Recovery and Complementary package installation guide:
http://www.xcfa.tuxfamily.org/index.php?static2/xcfa
CHANGELOG
Read the ChangeLog file and view the source code.
AUTHOR
XCFA is developed by Claude Bulin (xcfa@tuxfamily.org)
4.3.1 Wed, 23 May 2012 xcfa(1)