05-23-2006
Thanks Perderabo.
This didn't solve the problem but did provide alternate solutions.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi Gurus,
Can awk be able to do this
source file:
1|SPFE2027G1|1PFE-7000|T34801188|5066-0844|
2|T34801188|5066-0844|T35002355|5066-0845|
3|T35002355|5066-0845|T35203409|QFBR-7798|
1|SPFE2027H1|1PFE-7000|T34801198|5066-0844|
2|T34801198|5066-0844|T35002365|5066-0845|
formatted into:... (1 Reply)
Discussion started by: bbeugie
1 Replies
2. UNIX for Dummies Questions & Answers
Hello,
I have been trying all sorts of combinations and been royally screwing up my filesystem in the process :rolleyes: I have a bunch of .wav files in a hierarchical album/artist etc folder structure and each has a duplicate .w4a file next to it.
All I want to do is move all the .w4a... (7 Replies)
Discussion started by: dinalt
7 Replies
3. UNIX for Dummies Questions & Answers
I have UWin version of Unix for Destop
I have files with extension *.abc. I want to rename it to *.csv.
Some of the filenames have spaces.
I also to rename the files with extension *.abc in the corresponding subfolders
ex
==
abc def.abc
ghi jkl.abc
mnopqr.abc
uvwxyz.abc
rename as... (4 Replies)
Discussion started by: bobbygsk
4 Replies
4. Shell Programming and Scripting
How can I recursively list file permission including all subdirectories and save the result to a file. I also want to exclude certain file type. All I need is the UID and GID of each of the files. (1 Reply)
Discussion started by: kelseyh
1 Replies
5. Shell Programming and Scripting
How can I recursively list file permission including all subdirectories and save the result to a file. I also want to exclude certain file type such as *.log.
All I need is the UID and GID of each of the files/folders output to a text file.
Any ideas, any help very much apperciated. (1 Reply)
Discussion started by: kelseyh
1 Replies
6. UNIX for Dummies Questions & Answers
Does anyone have any idea of how I can make something like the code below run recursively?
I'll run it on a tree of directories all with different names and all containing a sequence of .dpx files. I've tried to do it using find and exec but can't get it to work right.
What it needs to do is... (4 Replies)
Discussion started by: scribling
4 Replies
7. Shell Programming and Scripting
Hi All,
The script below read the path and searches for the directories/subdirectories and for the files. If files are found in the sub directories then read the content of the all files and put the content in csv(comma delimted) format and the call the write to xml function to write the
std... (1 Reply)
Discussion started by: Optimus81
1 Replies
8. UNIX for Dummies Questions & Answers
Is there a way to use the find command to recursively scan directories for files greater than 1Gb in size and print out the directory path and file name only?
Thanks in advance. (6 Replies)
Discussion started by: jimbojames
6 Replies
9. Programming
Hello,
I extracted a list of files in a directory with the command ls . However this is not my computer, so the ls functionality has been revamped so that it gives the filesizes in front like this :
This is the output of ls command : I stored the output in a file filelist
1.1M... (5 Replies)
Discussion started by: ajayram
5 Replies
10. Shell Programming and Scripting
Hi,
I have got a file with 6K records and I want to delete 500 records from this file which match the values present in another file.
Format of the both the files is different.
Example : File 1 record
CCCCCC 11292562ABCDEF MBR/PSF6/108100502/BEN01XXX XXX
Example : File 2 record... (1 Reply)
Discussion started by: Nikhath
1 Replies
LEARN ABOUT DEBIAN
lfc-rm
LFC-RM(1) LFC User Commands LFC-RM(1)
NAME
lfc-rm - remove LFC files or directories in the name server
SYNOPSIS
lfc-rm [-f] [-i] filename...
lfc-rm [-f] [-i] -r dirname...
DESCRIPTION
lfc-rm removes LFC files or directories in the name server. For directories either -r or -R must be present. For regular files, it calls
lfc_unlink while for directories, it calls lfc_rmdir.
This requires write permission in the parent directory and the file itself. If write permission on an entry is denied, the standard input
is a terminal and the -f option is not given, the prompt "override write protection" appears and if the response is not y, the entry is not
deleted. Entries directly under a protected directory are never deleted.
path specifies the LFC pathname. If path does not start with /, it is prefixed by the content of the LFC_HOME environment variable.
OPTIONS
The following options are supported:
-f Do not give an error message if the file/directory does not exist.
-i Request acknowledge before removing each individual entry.
-R Recursive mode (equivalent to -r).
-r Recursive mode.
EXIT STATUS
This program returns 0 if the operation was successful or >0 if the operation failed.
SEE ALSO
Castor_limits(4), lfc_rmdir(3), lfc_unlink(3)
AUTHOR
LCG Grid Deployment Team
LFC
$Date: 2002/10/18 11:57:00 $ LFC-RM(1)