02-14-2017
Quote:
I tried you code, "MadeInGermany" but it doesn't work.
In what way does it not work? I would say that the suggestions (two of them) were good.
Please post exactly what you have run and the output when you run it with the trace option.
I'm not sure that the
@ quite means it that way, rather that it expands the array variable to list every element and therefore the loop has a long list to work through. I would expect both options from
MadeInGermany to do the same.
Robin
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I want to insert file to tar file (by tar command).
The file is currently in a diffrenet directory and i want to be saved
at the tar file as it was in other directory.
I write the script in korn shell. How can i do it? (0 Replies)
Discussion started by: arielromi
0 Replies
2. UNIX for Dummies Questions & Answers
hi there,
anybody know if there is any efficient way of restoring only
files of specific dates from a tape (with tar command)? :rolleyes:
coz the tapes containing few weeks' files,
but i need only files of a few days.....
any kind feedback is appreciated.
Thanks in advanced. (0 Replies)
Discussion started by: newbie168
0 Replies
3. Shell Programming and Scripting
Hi all
I need to write a script that archives all files with a certain date in the filename, to another location.
It has to run on a AIX using tar/compress or another standard AIX tool.
The directory will have x files, each prefixed with a date like yyyymmdd_desc.csv.
I need all to... (7 Replies)
Discussion started by: AIXfrog
7 Replies
4. UNIX for Dummies Questions & Answers
I have tried:
tar -xfv mytarfile.tar archive/tabv/*
tar -xfv mytarfile.tar --wildcards 'archive/tabv/*'
tar -xf mytarfile.tar -v --wildcards 'archive/tabv/*'
tar -xfv mytarfile.tar --wildcards --no-anchored 'archive/tabv/*'
tar -xfv mytarfile.tar --wildcards `archive/tabv/*`
and none... (5 Replies)
Discussion started by: zapper222
5 Replies
5. Shell Programming and Scripting
Hi,
I'll get a tarred file from a remote location in the format of .tar.gz which my program needs to un-tar it into a specific destination foler and a file
Incoming file/local/server/source/path/remote_file.txt.tar.gz
Extracted file/local/server/destination/path/un-tar/stage_file.txt
... (5 Replies)
Discussion started by: dips_ag
5 Replies
6. UNIX for Advanced & Expert Users
Is there a way to allow a user to use sudo cp on a specific directory and only a specific file? (6 Replies)
Discussion started by: cokedude
6 Replies
7. Solaris
Hi all,
In Solaris howto extract tar file to specific folder.
This is what we do in Linux, but how to do the same thing in Solaris ?
-tar -xzvf /tmp/etc.tar.bz -C /tmp
(Will extract in /tmp dir)
3.gzip COMPRESSION AND EXTRACTION
-tar -czvf /tmp/etc.tar.bz /etc
-du ... (5 Replies)
Discussion started by: manalisharmabe
5 Replies
8. Shell Programming and Scripting
I need a script which should watch a directory for a file with specific directory.
If it finds a file in directory, it should search for few specific keyword in the file. if the keyword exists, it should trim string from specific column.
The file should be moved to another directory and the a... (8 Replies)
Discussion started by: akashdeepak
8 Replies
9. AIX
Quick question,
is it possible to make a Tar of completely directory and placing the tar file in it (will this cause even the tar file to tarred ?)
sample:
/opt/freeware/bin/tar -cvf - /oracle | gzip > /oracle/backup.tgz
will the tar file backup.tgz also include backup.tgz ?
i tried... (5 Replies)
Discussion started by: filosophizer
5 Replies
10. UNIX for Beginners Questions & Answers
hello
i wish to write the result of these below conditions in a file:
1. in a specific folder, i have many tar.gz files.
2. each tar.gz file contains ".dat" file in sub folders.
3. i wish to get the full path of these .dat files, if i find in it a specific word ("ERROR24").
4. all this... (6 Replies)
Discussion started by: jimmyjames9
6 Replies
MULOG(1) Museek Daemon Plus MULOG(1)
NAME
Mulog - Chat Logging Script for Museekd
DESCRIPTION
Mulog is command-line Python script that connects to museekd(1) and saves chat messages into log files. Under the Log Directory, it creates
room & private subdirectories and a syslog file. If it loses connection with museekd, it will automatically exit.
Setting the interface and password on the command-line is a security risk. Since interface and password settings are saved to the config
file when set, you should set them, exit mulog, and restart mulog without the options on the commandline..LP
Before running, you will need a working museekd(1) and need to know your museekd interface and interface password. Configure those with
musetup(1).
SYNOPSIS
mulog [-c <config-filename> ] [--config <config-filename>] [-i <host:port | /socket.path>] [--interface <host:port | /socket.path> [-p
<interface-password>] [--password <inteface-password>] [-l <directory>] [--log <directory>] [-v] [--version] [-h] [--help]
OPTIONS
Mulog accepts the following options:
-c <filename>, --config <filename>
Use a different config file.
-l <directory>, --log <directory>
Use a different chat log directory.
-i, --interface <host:port | /socket.path>
Choose a different interface (saved to config file)
-p, --password <interface-password>
Choose a different password (saved to config file)
-v, --version
Display Version and exit.
-h, --help
Display Help and exit.
EXAMPLE
To run this program the standard way type:
mulog
Alternativly you use a different config file with:
mulog --config mulog.config
To set the interface password:
mulog --password 1234567890
FILES
~/.museekd/mulog.config
The default location for the mulog config file.
~/.museekd/logs/
The default log directory.
~/.museekd/logs/syslog
The museekd error/connection log file.
~/.museekd/logs/room/
The directory where chat room logs are stored.
~/.museekd/logs/private/
The directory where private chat logs are stored.
AUTHORS
Hyriand <hyriand@thegraveyard.org>
daelstorm <daelstorm@gmail.com>
SEE ALSO
mucous(1) murmur(1) muscan(1) muscand(1)museekcontrol(1) museekd(1) musetup(1) musetup-gtk(1) museeq(1)
daelstorm Release 0.2.0 MULOG(1)