@pravin27, didn't the previous post say that SQLite and XML should match on the file type=contents not name?
The following pipes the output of a simple find command into a while loop that does the postprocessing
The following variant tries to print both information in one line
Last edited by MadeInGermany; 05-18-2016 at 06:06 AM..
Reason: variant added
These 2 Users Gave Thanks to MadeInGermany For This Post:
hi there all the unix-gurus,
anyone can offer me some advise/help? i'm writing a ftp script and i need to spool out the output to a file but i'm facing some problems when i'm doing the following:
ftp -n <mail server> ${log_dir}/test_put.log << END
user <user_id> <password>
verbose
bin
#... (2 Replies)
I need to find whether there is a file named vijay is there or not in folder named "opt" .I tried "ls *|grep vijay" but it showed permission problem.
so i need to use find command (6 Replies)
I would like to know why this command does not work.
I have a script which connects to and ftp site.
After getting the remote files localy i need move each remote file to a archive folder on the FTP site
*Please also note that some of the files have spaces in the file name.
Im trying to... (3 Replies)
Hi friends,
I have a file where I should search for a string and get the rest of the line but without the delimiter using awk.
for example I have the series of string in a file:
input_string.txt
bbb
ccc
aaa
and the mapping file looks like this.
mapping.txt
aaa|12
bbb|23
ccc|43... (11 Replies)
Hi,
I am trying to find the lines in a pipe delimited file where 11th column has not null values. Any help is appreciated. Need help asap please.
thanks in advance. (3 Replies)
Hi guys,
I need to know how i can ignore Pipe '|' if Pipe is coming as a column in Pipe delimited file
for eg:
file 1:
xx|yy|"xyz|zzz"|zzz|12...
using below awk command
awk 'BEGIN {FS=OFS="|" } print $3
i would get xyz
But i want as :
xyz|zzz to consider as whole column... (13 Replies)
Hi,
I am using below code snippet to echo/display the files found
(matching a pattern from searchstring.out file) and the corresponding owner.
while read j
do
echo "Pattern to search is:- $j"
find / -name "*$j*" |\
while read k
do
echo "File found is:- $k"
owner=$(ls... (9 Replies)
Hello,
I need to split a pipe de-limited file based on the COLUMN 7 value . If the column value changes I need to split the file
Source File
Payment|ID|DATE|TIME|CONTROLNUMBER|NUMBER|NAME|INDICATOR
42156974|1137937|10/1/2018|104440|4232|2054391|CARE|1... (9 Replies)
Discussion started by: rosebud123
9 Replies
LEARN ABOUT CENTOS
backup_delvolset
BACKUP_DELVOLSET(8) AFS Command Reference BACKUP_DELVOLSET(8)NAME
backup_delvolset - Deletes one or more volume sets from the Backup Database
SYNOPSIS
backup delvolset -name <volume set name>+ [-localauth]
[-cell <cell name>] [-help]
backup delvols -n <volume set name>+ [-l]
[-c <cell name>] [-h]
DESCRIPTION
The backup delvolset command deletes each volume set named by the -name argument, and the volume entries each contains, from the Backup
Database. The backup listvolsets command lists the volume sets (and their volume entries) currently defined in the Backup Database.
CAUTIONS
Deleting a temporary volume set is possible only within the interactive session in which it was created. Exiting the interactive session
also destroys the temporary volume set automatically.
OPTIONS -name <volume set name>+
Names each volume set to delete.
-localauth
Constructs a server ticket using a key from the local /etc/openafs/server/KeyFile file. The backup command interpreter presents it to
the Backup Server, Volume Server and VL Server during mutual authentication. Do not combine this flag with the -cell argument. For more
details, see backup(8).
-cell <cell name>
Names the cell in which to run the command. Do not combine this argument with the -localauth flag. For more details, see backup(8).
-help
Prints the online help for this command. All other valid options are ignored.
EXAMPLES
The following command deletes the volume set called user and all volume entries in it:
% backup delvolset user
PRIVILEGE REQUIRED
The issuer must be listed in the /etc/openafs/server/UserList file on every machine where the Backup Server is running, or must be logged
onto a server machine as the local superuser "root" if the -localauth flag is included.
SEE ALSO backup(8), backup_addvolentry(8), backup_addvolset(8), backup_delvolentry(8), backup_listvolsets(8)COPYRIGHT
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas
Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.
OpenAFS 2012-03-26 BACKUP_DELVOLSET(8)