Sponsored Content
Full Discussion: Delete Script
Top Forums Shell Programming and Scripting Delete Script Post 302847349 by rdcwayx on Monday 26th of August 2013 10:11:24 PM
Old 08-26-2013
with this sample:

Code:
Table 1:-
DateID
KeyColumn
Field 1
Field 2

Table 2:-
KeyColumn
Field 2
Field 3

from DateID, I can find out the keyColumn, then is keyColumn unique that I can use to identify which record need be deleted?
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Please (Delete script)

Hello everybody. Actually I would like to ask you who can I make delete commend by shell script to delete some files from anywhere in my director and send it to specific place but whit the PATH because if want to restore it will return to the original place which I delete it from (As recycle pan... (7 Replies)
Discussion started by: falm
7 Replies

2. Shell Programming and Scripting

perl script to check if empty files are created and delete them and run a shell script

I have a local linux machine in which the files are dumped by a remote ubuntu server. If the process in remote server has any problem then empty files are created in local machine. Is there any way using perl script to check if the empty files are being created and delete them and then run a shell... (2 Replies)
Discussion started by: hussa1n
2 Replies

3. Shell Programming and Scripting

script to delete one digit.

Hi User, I have a text file with a lot of customer records (over 10,000). Each record contained one field called "charge" and it must start with some space (each record may have 15 space, 17 spece, 9 space,etc, then start with <charge> and end with </charge>, in between is a value. How can I... (3 Replies)
Discussion started by: happyv
3 Replies

4. Linux

Delete script

Hi I need a script that will remove the contents out of a common named folder on our server and all its contents. We have folder called temp which resides within several different folders and i need to delete the contents at a set time in the night thanks Treds (7 Replies)
Discussion started by: treds
7 Replies

5. Shell Programming and Scripting

Script to delete old directories

Hi, I have a requirement like, I need to create the directory with date and time stap (i.e YYYYMMDDHMS) every day end need to delete the old directories which is 12 months old. I have tested with following script cd /export/home/sbeeravo/; find . -type d -mtime +365 -exec rm -rf {} \; ... (2 Replies)
Discussion started by: ShirishaReddy
2 Replies

6. UNIX for Dummies Questions & Answers

script to delete old files

Hi, I want to delete files that are older than 60 days.... i need to execute the script in 7 differnt folders.... i can run the script in crontab to regularly check.... I am struck @ finding out how the file is 60 days old or not... Can u please help me on this? Thanks, NithZ (6 Replies)
Discussion started by: Nithz
6 Replies

7. Red Hat

Need Script to ZIP/SAVE & then DELETE Log file & DELETE ZIPS older than 12 months

ENVIROMENT Linux: Fedora Core release 1 (Yarrow) iPlanet: iPlanet-WebServer-Enterprise/6.0SP1 Log Path: /usr/iplanet/servers/https-company/logs I have iPlanet log rotation enabled rotating files on a daily basis. The rotated logs are NOT compressed & are taking up too much space. I... (7 Replies)
Discussion started by: zachs
7 Replies

8. Shell Programming and Scripting

Files delete script

Friends, I had written a small script to delete files from deletefiles.txt file. However, I want to add one more piece to script, so as to check if the file(file abc) which was already deleted earlier exists in 'deletefiles.txt' file, script should comment out that "file abc doesnt exist". Can... (5 Replies)
Discussion started by: fop4658
5 Replies

9. Shell Programming and Scripting

Script needed to delete to the list of files in a directory based on last created & delete them

Hi My directory structure is as below. dir1, dir2, dir3 I have the list of files to be deleted in the below path as below. /staging/retain_for_2years/Cleanup/log $ ls -lrt total 0 drwxr-xr-x 2 nobody nobody 256 Mar 01 16:15 01-MAR-2015_SPDBS2 drwxr-xr-x 2 root ... (2 Replies)
Discussion started by: prasadn
2 Replies

10. Shell Programming and Scripting

SFTP Shell Script Get & Delete && Upload & Delete

Hi All, Do you have any sample script, - auto get file from SFTP remote server and delete file in remove server after downloaded. - only download specify filename - auto upload file from local to SFTP remote server and delete local folder file after uploaded - only upload specify filename ... (3 Replies)
Discussion started by: weesiong
3 Replies
Plucene::Document::Field(3pm)				User Contributed Perl Documentation			     Plucene::Document::Field(3pm)

NAME
Plucene::Document::Field - A field in a Plucene::Document SYNOPSIS
my $field = Plucene::Document::Field->Keyword($name, $string); my $field = Plucene::Document::Field->Text($name, $string); my $field = Plucene::Document::Field->UnIndexded($name, $string); my $field = Plucene::Document::Field->UnStored($name, $string); DESCRIPTION
Each Plucene::Document is made up of Plucene::Document::Field objects. Each of these fields can be stored, indexed or tokenised. FIELDS
name Returns the name of the field. string Returns the value of the field. is_stored Returns true if the field is or will be stored, or false if it was created with "UnStored". is_indexed Returns true if the field is or will be indexed, or false if it was created with "UnIndexed". is_tokenized Returns true if the field is or will be tokenized, or false if it was created with "UnIndexed" or "Keyword". METHODS
Keyword my $field = Plucene::Document::Field->Keyword($name, $string); This will make a new Plucene::Document::Field object that is stored and indexed, but not tokenised. UnIndexed my $field = Plucene::Document::Field->UnIndexded($name, $string); This will make a new Plucene::Document::Field object that is stored, but not indexed or tokenised. Text my $field = Plucene::Document::Field->Text($name, $string); This will make a new Plucene::Document::Field object that is stored, indexed and tokenised. UnStored my $field = Plucene::Document::Field->UnStored($name, $string); This will make a new Plucene::Document::Field object that isn't stored, but is indexed and tokenised. perl v5.12.4 2011-08-14 Plucene::Document::Field(3pm)
All times are GMT -4. The time now is 07:49 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy