Following may help you in same, I tested in bash.
1st please check the file names which you want to delete, if satisfied with result use 2nd command.
I got above results as I have created some test files to check it.
2nd command:
Thanks,
R. Singh
This User Gave Thanks to RavinderSingh13 For This Post:
Hello,
I create a file touch 1201093003 fichcomp
and inside a repertory (which hava a lot of files) I want to list all files created before this file :
find *.* \! -maxdepth 1 - newer fichcomp but this command returned bash: /usr/bin/find: Argument list too long
but i make a filter all... (1 Reply)
Yes , I have to find a file in unix without using any find or where commands.Any pointers for the same would be very helpful as i am beginner in shell scritping and need a solution for the same.
Thanks in advance.
Regards
Jatin Jain (10 Replies)
Hi ,
I have a piece of code ...wherein I need to assign the following ...
1) A command line argument to a variable
e.g origCount=ARGV
2) A unix command to a variable
e.g result=`wc -l testFile.txt`
in my awk shell script
When I do this :
print "origCount" origCount --> I get the... (0 Replies)
Hello all. I've been trying to install NWCHEM in parallel on a new cluster, and have been able to get it to work on single processors by ignoring any MPI environment variables.
This is, of course, pretty worthless. So I'm starting over and trying to get thing set up right for the MPI. The key... (6 Replies)
Hello.I have been trying to solve the following problem, but to no avail. If anyone could please give me some indications, or anything, it would be amazing.
A C source program and a type name are given. Determine from source,
the list of the global variables having the given type.
For each... (5 Replies)
I have a flat file (template) where I want to replace variables based upon a value in another file (csv).
The variables in the template are named %VAR_X_z%
The values are in the csv file and X is field 0 of each line and y field 1 and up.
Example of the csv:
Badidas, 13.00, 12.00, 11.00,... (8 Replies)
I have a script like this (Yes, I know the DAY6 number isn't right - I'm just testing at this point):
DAY0=`date -I`
DAY1=`date -I -d "1 day ago"`
DAY6=`date -I -d "2 days ago"`
if
then
ssh root@synology1 nohup rm -rf "/volume1/Fileserver/$DAY6"
fi
I've tested the line to remove the... (5 Replies)
I have a file as follows:
0
1056
85540
414329
774485
1208487
1657519
2102753
2561259
3037737
3458144
3993019
4417959
4809964
5261890
5798778
6254146
I want to find all lines between a specified start and end tag. (6 Replies)
I am trying to do a find with a variable but no matter which way I try it does not work. This is aix. Can I get some ideas on what I am doing wrong?
for i in `cat file`; do find / -type f -name "$i" -exec ls -l {} + ; done
for i in `cat file`; do find / -type f -name "\$i" -exec ls -l... (6 Replies)
Discussion started by: cokedude
6 Replies
LEARN ABOUT CENTOS
fc-cat
FC-CAT(1)FC-CAT(1)NAME
fc-cat - read font information cache files
SYNOPSIS
fc-cat [ -rvVh ] [ --recurse ] [ --verbose ] [ --version ] [ --help ]
[ [ fonts-cache-2-files ] [ dirs ] ... ]
DESCRIPTION
fc-cat reads the font information from cache files or related to font directories and emits it in ASCII form.
OPTIONS
This program follows the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included
below.
-r Recurse into subdirectories.
-v Be verbose.
-h Show summary of options.
-V Show version of the program and exit.
SEE ALSO fc-cache(1)fc-list(1)fc-match(1)fc-pattern(1)fc-query(1)fc-scan(1)
The fontconfig user's guide, in HTML format: /usr/share/doc/fontconfig/fontconfig-user.html.
AUTHOR
This manual page was written by Patrick Lam <plam@mit.edu>.
Aug 13, 2008 FC-CAT(1)