Sponsored Content
Top Forums Shell Programming and Scripting write shell script to rename file Post 302479148 by michaelrozar17 on Friday 10th of December 2010 01:26:38 AM
Old 12-10-2010
It depends upon your requirement. Wot exactly your trying to do.. i mean from where to where your trying to move the files and wot is the destination file name for the move command. Is it always tmp.xml? Brief the requirements.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Shell script to rename or change file extension case.

I searched the forum, but there was different type of rename. Hello. I have files in folder. Like: xxxxxxxx1.html or xxxxxxxx2.txt or xxxxxxxx3.tar.gz and how to rename or change file extension case to xxxxxxxx1.htm or xxxxxxx2.TXT or (5 Replies)
Discussion started by: Sheldon
5 Replies

2. Shell Programming and Scripting

How to write a shell script to notify when certain texts appear in a file?

I have a server and occasionally the file mysqld.log would show something like /usr/libexec/mysqld: Disk is full writing './example_com_-_wordpress/wp_statpress.MYD' (Errcode: 122). Waiting for someone to free space... Retry in 60 secs How do I write a simple shell script to check mysqld.log... (1 Reply)
Discussion started by: acider
1 Replies

3. UNIX for Advanced & Expert Users

Rename a file to a file_current datetime in a shell script

Hi all, Could anyone suggest me on Renaming a file to a file_current datetime in a shell script. (3 Replies)
Discussion started by: Nithin
3 Replies

4. Shell Programming and Scripting

write shell script to search file in folder

hi .. i have a problem how to search file with date and version number(ms_2.0_dd/mm/yy_24)in folder.Here 24 is version number and compare the this file to other file which is in another folder and if does not match then copy this file to respective folder.Also copy different files in different... (1 Reply)
Discussion started by: shubhig15
1 Replies

5. Shell Programming and Scripting

Write output to a file using Korn shell script

All, Can anyone please help me with the below scenario in korn shell script. Can anyone please give me some hints to proceed on this. I have a Flat file of the below format. Input file format:... (1 Reply)
Discussion started by: sp999
1 Replies

6. Shell Programming and Scripting

how to write multiple lines to a file using shell script?

I need to create an xml using shell script, but i first want to know how can i write multiple lines to file using shell script? (7 Replies)
Discussion started by: vel4ever
7 Replies

7. Shell Programming and Scripting

How can I write the specific content in the file through shell script

Hello, I need to do one thing that my script creates the file touch release.SPLASH_12_03_00_RC01.txt Now I want to update that file with some content e.g splashbuild::SPLASH_12_17_00_RC02.zip Thanks (1 Reply)
Discussion started by: anuragpgtgerman
1 Replies

8. Shell Programming and Scripting

How to write rename script?

I have files fd01.calc,fd02.calc,fd03.calc..I want to rename in fd01.picks,fd02.picks,fd03.picks How to do this? (4 Replies)
Discussion started by: mikibelavista
4 Replies

9. Shell Programming and Scripting

Need help to write a shell script to convert text file to excel file.

Hi Everyone, I want your help to write a script which will take text file as input and on the basis of delimiter ":"script will create excel sheet. Example input: IpAdress:InstanceName:Port:ServerName 10.255.255.1:abc:2232:xyz_abc Output should be an excel sheet like below: Column... (8 Replies)
Discussion started by: akabhinav18
8 Replies

10. Shell Programming and Scripting

Help required with a file rename shell script

Hello everyone, Posting here after a long time, been away from unix world lately and it seems I have forgotten my shell scripting completely. I have a requirement where a csv file contains following columns: Full Registration VIN Stock... (14 Replies)
Discussion started by: tayyabq8
14 Replies
WOTSAP(1)																 WOTSAP(1)

NAME
wotsap - Web of Trust statistics and pathfinder SYNOPSIS
wotsap [OPTIONS] [bottomkey [topkey]] DESCRIPTION
wotsap is a pathfinder for the OpenPGP Web of Trust, which also produces some statistics and similar things. It obtains the description of the Web of Trust from a .wot file. OpenPGP is the most widely used email encryption standard, used by encryption software such as the GNU Privacy Guard (see gnupg (7)). To encrypt to someone or verify someone's signature, you need that persons OpenPGP key. Say you want to verify a digital signature made by Bob. To get Bob's key is easy with some help from keyservers, being sure you got the right key is the tricky part. This is accomplished either by meeting Bob in person and exchanging signatures, or by trusting someone else, who you have met in person, who claims to have met Bob. Or by trusting someone who has met someone who has met Bob. This gives rise to a completely decentralized network of trusts between people. wotsap lets you explore the Web of Trust. It works on a compressed copy of the Web of Trust in the .wot file format, generated daily and distributed on the site of wotsap main writer. Running wotsap you can specify on the command line just bottomkey, bottomkey and topkey or neither of them. They are the hexadecimal ID of the keys you want to investigate: o If you don't specify any of bottomkey and topkey, wotsap will just produce some piece of information on the Wot of Trust, such as the total number of key and signatures and the average signatures per key. o If you specify only bottomkey, wotsap will output detailed statistics about that key: how far are the other key in the Web from this, the Mean Shortest Distance for this key, which key have signed this key or are signed by this key. The Mean Shortest Distance is the average of the distances from all the keys in the Web of Trust to the key you under considaration. The distance from a key to another is the length of a minimal path from the first to the second. o If you specify either bottomkey and topkey, wotsap will search for all the minimal paths from bottomkey to topkey and output them. OPTIONS
-h --help Show help. --version Show version. -w --wot=FILE Read Web of Trust information from FILE. Defaults to ~/.wotsapdb. You can find the latest version of this file (generated daily) at http://www.lysator.liu.se/~jc/wotsap/wots2/latest.wot. -m --modify=STR Use STR of WoT modification string. -g --group Print signature matrix of comma separated keys. If there aren't any commas in the key specification, wotsap will interpret it as a search string, and print the signature matrix of all the key, whose name or email contains the string. -G --nounknowns Don't print unknown keys in the signature matrix. -o --png=FILE Write an image of the graph of all the minimal paths between the two specified keys in FILE, in .png file format. -O --show-png=PRG Like -o, but shows the image with PRG instead of writing it in a file. More precisely, it saves the minimal paths image in a temporary file, the executes 'PRG image_file' and, when PRG is over, deletes the temporary file. -s --size=NNNxMMM With -o or -O options, set the size of the generated image to NNNxMMM. -F --font=FILE Use FILE as the font file, in .pil/.pbm format. Point it to the .pil file, with the .pbm file in the same directory. If no font specifications are given, wotsap will try to use some fonts installed in the system, or fall back to a built-in one. -T --ttffont=FILE Like -F, but with a TrueType font file. -S --ttfsize=NUM With -T, set the TrueType font size. Defaults to 16. -p --print Print the whole Web of Trust in human readable format (very long output). -D --print-debug Print the debug information in the .wot file. -d --diff=FILE Print all differences between two .wot files (namely, between the file specified with -w and that specified with this option). -M --msd Just show MSD for the specified key instead of full statistics. -W --wanted[=NUM] Show the NUM (defaults to 10) 'most wanted signatures' for key (very long calculation time, try using -r). -r --restrict=STR Restrict wanted signatures with STR, implies -W. SEE ALSO
gnupg (7), gpg (1). AUTHOR
This manual page was written by Giovanni Mascellani <g.mascellani@gmail.com> for the Debian(TM) system (but may be used by others), beacause the original program doesn't have a manual page. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 any later version published by the Free Software Foundation. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL. COPYRIGHT
Copyright (C) 2007 Giovanni Mascellani July 2007 WOTSAP(1)
All times are GMT -4. The time now is 02:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy