09-20-2010
Thanks, but... vstart and vend will always be set... and how does that help in finding out the lines in between?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have to capture the creation date and time stamp for a file. The ls command doesn't list all the required information. I need year, month, day, hour, minute and second.
Any ideas... (1 Reply)
Discussion started by: Xenon
1 Replies
2. Shell Programming and Scripting
I'm trying to write a script that checks the DTS of a file the compares it to the current time. If greater that 60 mins has gone by and the file has not been written to alert.
So far I have the time pulled from the file but I dont know how to compare the times against a 60 min difference.
... (2 Replies)
Discussion started by: jarich
2 Replies
3. Shell Programming and Scripting
I need to move files after midnight but attach the previous date to it.
Moving files before midnight no proproblem but how can I move files which are created on the 22nd for example but add a date stamp of previous day?
Date ='date +"Y%m%d"' gets today's date but how can I get yesterday's... (3 Replies)
Discussion started by: candle_66
3 Replies
4. Shell Programming and Scripting
Hi,
can any one tell me how to achieve this...I will input the path and file name and it should rename it to current date and time...
this is what I tried...
#! /usr/bin/sh
set -x
cd /info_stg/vul/Scripts
TODAY_DATE_TIME=`date +%Y%m%d%H%M%S`
IN_FILE_PATH=`cat file.txt | awk -F, '{... (2 Replies)
Discussion started by: mgirinath
2 Replies
5. Shell Programming and Scripting
Dear Gurus,
I'm trying to move a number of files from one directory to another directory with a new date stamp. This is my script:
#! /bin/csh
Today_Date=`date +%Y%M%D`
mv /usr/TRS/data/TS* /usr/TRS/backup/TS*.${Today_Date}
when i run the script i'm getting the following errors:
mv:... (14 Replies)
Discussion started by: lweegp
14 Replies
6. UNIX for Dummies Questions & Answers
Hi All,
Wondering if there is have a date added at the end of a test string. I have a hypothetical text file day one:
John
Paul
George
When the file day one is output, I'd like it to read something like this:
John 101406
Paul 101406
George 101406
Day two, when the same text file... (0 Replies)
Discussion started by: JimmyFlip
0 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I need to zip the list of files using from date Stamp to end date Stamp, How can I filter and make FromDate_EndDate.gzip?
any idea? (1 Reply)
Discussion started by: redlotus72
1 Replies
8. UNIX for Advanced & Expert Users
Hi,
We are using RSYNC for syncing remote directories and working great. Our requirement is to have the destination files with date/time stamp of when they're copied on to the destination server, NOT the date/time stamps of source files/directories.
As RSYNC, by default, preserving the same... (4 Replies)
Discussion started by: prvnrk
4 Replies
9. Shell Programming and Scripting
Hi,
Below is the content of the file how it looks:
# EMAIL
#export BMS_EMAIL_ENABLED=true
export BMS_EMAIL_ENABLED=false
#export BMS_EMAIL_SERVER=esasmtp01.kohls.com
export BMS_EMAIL_SERVER=esasmtp01.kohls.com.SMTP_SERVICE
export BMS_EMAIL_FROM_ADDRESS=ec_notify@kohlsectest.com
export... (4 Replies)
Discussion started by: pravintse
4 Replies
10. Shell Programming and Scripting
Hi Folks,
Need a clarification on files with date and time stamp.
Here is my requirement. There is a file created everyday with the following format "file.txt.YYYYMMDDHHMMSS".
Now i need to check for this file and if it is available then i need to do some task to the file.
I tried... (6 Replies)
Discussion started by: jayadanabalan
6 Replies
LEARN ABOUT DEBIAN
mixmaster-filter
MIXMASTER-FILTER(1) mixmaster-filter MIXMASTER-FILTER(1)
NAME
mixmaster-filter - Wrapper around mixmaster that removes unwanted header lines
SYNOPSIS
mixmaster-filter
DESCRIPTION
mixmaster-filter is a wrapper around mixmaster. It will filter out header lines which may endager your anonymity.
All but a few options are passed on to mixmaster as is. If you specify -m, -g, -l or -n (see mixmaster(1)) then STDIN is filtered,
otherwise mixmaster is executed as is.
It is intented to be used from Mail User Agents like the mutt(1) email reader.
OPTIONS
--mixmaster=MIXMASTER
Set the path to the mixmaster binary.
--configfile=FILTERCONFIGFILE
Set a config file for mixmaster-filter.
--help
Print a brief help message and exit successfully.
--version
Print a version information and exit successfully.
All other options are passed through to mixmaster.
FILES
--configfile parameter
MIXMASTER_FILTER_CONF environment
~/.Mix/filter.conf
/etc/mixmaster/filter.conf
The first file that is found is used.
FILEFORMAT
The configuration file for mixmaster-filter is simple. Lines with whitespace only are ignored as are lines that have the hash our pound
("#") sign as their first non whitespace character.
Lines are always truncated at the first hash our pound ("#") sign.
The first logical line gives the filtering policy. It's either "FILTER" or "ALLOW".
All other lines are taken as a list of Headers.
If your policy is "FILTER" headers in your list will get removed from messages.
If your policy is "ALLOW" only headers in your list will be passed to mixmaster.
ENVIRONMENT
MIXMASTER_FILTER_CONF
Config file to use
HOME
Your homedirectory. Used for finding your user configuration file. Also the default destination directory is $HOME/.Mix/
SEE ALSO
mixmaster(1)
BUGS
It is far from perfect but should handle most standard cases satisfactorily.
Please report them to the Debian Bug Tracking System as described at "http://bugs.debian.org/" or use a tool like reportbug(1).
AUTHOR
Peter Palfrader, <peter@palfrader.org>
$Revision: 459 $ 2013-02-08 MIXMASTER-FILTER(1)