You posted two different file output in this post - wasn't sure which is correct.
Input file should be RPT101 or RPT.101 - script below assumes RPT101 - just add 'cutting' another field if that incorrect.
Just change or add any specific directory path - should work if I understood what you are looking for.
I have few webservers logs like access.log. which would be growing everyday.
what i do everyday is, take the backup of access.log as access.log_(currentdate) and nullify the access.log.
So thought of writing a script... but stuck up in middle.
My requirement: to take the backup and nullify... (6 Replies)
hello, I need to build a shell script that receives the folder to copy by parameter and copy all files except thumb.db to another folder and rename them like, file.jpg renamed to file_bb1.jpg.
can someone help me
Thanks (4 Replies)
hello,
I am write a Script and i would listing all Files from Path1 out with DSR*.txt and give a new name an copy to the Path2.
I have problems with that to rename. Someone can help me?
Sorry, for my english. My english is not gut.
I hope you understand my.
That is my Script.
... (2 Replies)
Hi All,
I am new to scripting and am looking for some assistance setting up a script. Basically I need the script to scan a folder for the newest files and make a copy of those files, adding a month to the date stamp. I also need this script to delete the previously copied files to save space.... (4 Replies)
I need to pull down a good bit of files for another support team for an upgrade project. I have a server.list with all of the server names.
I need to do two parts:
FIRST:
I have this example, but it does not list the server name in front of each line.
#! /bin/bash
for server in $(<... (10 Replies)
Is better way to write the script loop through one by one "Old_File_1: & New_File_1:" to copy 100 files to /staging/test folder then re-name & gzip all those files? I wrote this code below and don't like that much. Thanks
I have a control_file under /tmp/test folder like below 100 files and... (10 Replies)
Hi,
I require help to complete below requirement through Linux Script.
I have a SQL query which shows two columns as output. One is Report Name and other is report path. Query return multiple rows. below is the output.
Report Name
Cotton Stock Report (Net Weight)- Customized
Output... (3 Replies)
#!/bin/sh
sqlplus -s "/ as sysdba" << EOF
SET HEADING OFF
SET FEEDBACK OFF
Select
pt.user_concurrent_program_name , OUTFILE_NAME
FROm
apps.fnd_concurrent_programs_tl pt,
apps.fnd_concurrent_requests f
where
pt.concurrent_program_id = f.concurrent_program_id
and pt.application_id =... (1 Reply)
Discussion started by: usman_oracle
1 Replies
LEARN ABOUT DEBIAN
opendkim-genkey
opendkim-genkey(8) System Manager's Manual opendkim-genkey(8)NAME
opendkim-genkey - DKIM filter key generation tool
SYNOPSIS
opendkim-genkey [options]
DESCRIPTION
opendkim-genkey generates (1) a private key for signing messages using opendkim(8) and (2) a DNS TXT record suitable for inclusion in a
zone file which publishes the matching public key for use by remote DKIM verifiers.
The filenames of these are based on the selector (see below); the private key will have a suffix of ".private" and the TXT record will have
a suffix of ".txt".
OPTIONS -a Appends the domain name (see -d below) to the label in the generated TXT record, followed by a trailing period. By default it is
assumed the domain name is implicit from the context of the zone file, and is therefore not included in the output.
-b bits
Specifies the size of the key, in bits, to be generated. The default is 1024 which is the value recommended by the DKIM specifica-
tion.
-d domain
Names the domain which will use this key for signing. Currently only used in a comment in the TXT record file. The default is
"example.com".
-D directory
Instructs the tool to change to the named directory prior to creating files. By default the current directory is used.
-h algorithms
Specifies a list of hash algorithms which can be used with this key. By default all hash algorithms are allowed.
-n note
Includes arbitrary note text in the key record. By default, no such text is included.
-r Restricts the key for use in e-mail signing only. The default is to allow the key to be used for any service.
-s selector
Specifies the selector, or name, of the key pair generated. The default is "default".
-S Disallows subdomain signing by this key. By default the key record will be generated such that verifiers are told subdomain signing
is permitted.
-t Indicates the generated key record should be tagged such that verifiers are aware DKIM is in test at the signing domain.
NOTES
Requires that the openssl(8) binary be installed and in the executing shell's search path.
VERSION
This man page covers the version of opendkim-genkey that shipped with version 2.6.8 of OpenDKIM.
COPYRIGHT
Copyright (c) 2007, 2008 Sendmail, Inc. and its suppliers. All rights reserved.
Copyright (c) 2009, 2011, 2012, The OpenDKIM Project. All rights reserved.
SEE ALSO opendkim(8), openssl(8)
RFC6376 - DomainKeys Identified Mail
The OpenDKIM Project opendkim-genkey(8)