i have 255 files in a directory named 000po.k thru 255po.k
and I want to copy all files except 3: exclude 000po.k, 166po.k,168po.k
I know the long way around it copying these files, but am looking for a shorter way of doing this:
my old approach:
# copy 001po.k thru 009po.k to target... (3 Replies)
Hi guys, i have been struggling to achieve the following and therefor looking for some help.
I am trying to write something that will summerize the following output from my switches for daily totals.
Basicly if $1 $2 $3 doesnt change, we can keep adding up $4. Probably would use a awk print end... (3 Replies)
I know how to do this in perl, but I want to do it in bash script. Hope some one could help me, many thanks!
I have a file looks like this:
AB_21423 *********
BC_123 *********
CD_343 *********
AB_289 *********
***************
***************
I... (5 Replies)
Hello everyone!I am trying to make a mail list(a simple .txt file)in which i put certain records that match specific criteria.
Let's say that i have a(sorted by last column file)like this one:
0100567 Bla1 Lala1 100
1234567 Bla2 Lala2 80
8769029 Bla3 Lala3 70
1001007 ... (0 Replies)
In Perl I can write a condition that evaluates a match expression like this:
if ($foo =~ /^bar/) {
do blah blah blah
}
How do I write this in shell? What I need to know is what operator do I use? The '=~' doesn't seem to fit. I've tried different operators, I browsed the man page for... (3 Replies)
Hi,
I need to match up some numbers in one file to the closest numbers in other file and produce an output file.
File one (f1.txt) is laid out like this
PCode Lon Lat
AB10 1AA 57.148235 -2.096648
BB2 3JD 53.728563 -2.47852
LU4 9ET... (4 Replies)
I'm trying to convert this working bash script into an Ash script,
read -p "Username:" _username
if ! ]]; then
echo "Valid"
else
echo "INVALID"
fi
However, Ash does not recognize the "=~" character.
How can I do this?
Also, is there a good reference guide, so I... (5 Replies)
I need to check the condition of a variable before the script continues and it needs to match a specific pattern such as EPS-03-0 or PDF-02-1.
The first part is a 3 or 4 letter string followed by a hyphen, then a 01,02 or 03 followed by a hyphen then a 0 or a 1.
I know I could check for every... (4 Replies)
In the bash below the user selects the file to be used. The digits of each file are unique and used to automatically locate the next file to be used in the process. The problem I can not seem to fix is that the full path needs to be referenced in the second portion and it is not currently. Is... (7 Replies)
I'm new to utilities like socat and netcat and I'm not clear if they will do what I need.
I have a "compileDeployStartWebServer.sh" script and a "StartBrowser.sh" script that are started by emacs/elisp at the same time in two different processes.
I'm using Cygwin bash on Windows 10.
My... (3 Replies)
Discussion started by: siegfried
3 Replies
LEARN ABOUT SUSE
pilot-foto
pilot-foto(1) PILOT-LINK pilot-foto(1)NAME
pilot-foto - Palm 'Foto' Image Installer/Remover/Fetcher/Converter
SECTION
pilot-link: Userland conduits
SYNOPSIS
pilot-foto [-p|--port <port>] [--version] [-?|--help] [-q|--quiet] [--usage] [-d|--delete] [--delete-all] [-i|--install] [-l|--list]
[-f|--fetch] [-F|--fetch-all] [-c|--convert]
DESCRIPTION
This is a palm conduit to fetch, install, or remove, Foto files from a Palm. It can also convert *.jpg.pdb files that have already been
fetched from the Palm to jpeg files.
Delete all, or named fotos from handheld.
Install one, or many jpeg images to handheld.
List all jpeg files and thumbnails on handheld.
Fetch all jpeg files, or certain ones by name.
Tries to detect if a file really is a jpeg and refuses to install it, if it is not.
pilot-foto allows you to do multiple operations in one sync. For instance, delete test.jpg and install test.jpg.
USAGE
pilot-foto -p <port> [options] file
OPTIONS
pilot-foto options
-d, --delete
Delete a jpg file on the handheld
--delete-all
Delete ALL jpg files on the handheld
-i, --install
Install a jpg file
-l, --list
List all photos and thumbnails
-f, --fetch
Fetch files from the Palm
-F, --fetch-all
Fetch ALL jpg files from the Palm
-c, --convert
convert [file].jpg.pdb files to jpg
Conduit Options
-p,
--port port
Use device file port to communicate with the Palm handheld. If this is not specified, pilot-foto will look for the $PILOTPORT environment
variable. If neither are found or supplied, pilot-foto will print the usage information.
-q,
--quiet
Suppress 'Hit HotSync button' message
-v, --version
Display version of pilot-foto and exit without connecting.
Help Options
-h, --help
Display the help synopsis for pilot-foto and exit without connecting.
--usage
Display a brief usage message and exit without connecting.
EXAMPLES
Examples:
pilot-foto -p /dev/pilot -f pilot-foto -d MyImage.jpg
pilot-foto -i MyImage.jpg
pilot-foto -i *.jpg
pilot-foto -f MyImage
pilot-foto -c MyImage.jpg.pdb
PROBLEMS
Palm has not published their database format for the thumbnails. So, pilot-foto puts a generic penguin thumbnail for every image uploaded.
Fotos can be accessed by a named list on the handheld as well as the thumbnails. This has been tried on a couple of handhelds. It is possi-
ble that a foreign palm or different model will not like it.
To get a thumbnail image you can copy the jpegs to the memory card. If you copy them back to the handheld they will have a new thumbnail
that matches the jpeg.
AUTHOR
This manual page was converted to XML by Neil Williams <linux@codehelp.co.uk>
BUGS
If a jpeg is installed with the same name as one already on the palm you will have 2 thumbnails pointing to the same jpeg. The new jpeg
will overwrite the old jpeg.
If the thumbnail fails to install then the jpeg should be removed. It is not.
We have an online bug tracker. Using this is the only way to ensure that your bugs are recorded and that we can track them until they are
resolved or closed. Reporting bugs via email, while easy, is not very useful in terms of accountability. Please point your browser to
http://bugs.pilot-link.org: http://bugs.pilot-link.org and report your bugs and issues there.
COPYRIGHT
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MER-
CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation,
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
SEE ALSO pilot-link(7)0.12.5 Copyright 1996-2007 FSF pilot-foto(1)