Hi,
Can any one tell the command to list all the files that are created as of today from all the directories?
The Command "ls -ltR" is listing all the files.
But I want the list of files that has been created as of today along with the directory path:)
Thank you in advance.:)
Regards,... (4 Replies)
hi all,
here is the description to my problem.
input parameter: $date1
based on the date i need to select three files starting with audit.log* based on its modified date, a date before, a date after(if its exists). We need to compare the input date to modified date of the file. And then... (3 Replies)
Hi All,
I am trying to to move files from a directory to another which falls from Current day - 7 days. The files are in zipped format with dates appended on it.
Can you pls help me as this came as a immediate change before the production Release planned next week.
Pls let me know if... (11 Replies)
Hi All,
Really stuck up with a requirement where I need to move a file (Lets say date_Employee.txt--the date will have different date values like 20120612/20120613 etc) from one directory to another based on creation/modification dates.
While visiting couple of posts, i could see we can... (3 Replies)
I have a number of files in a directory that can be grouped with something like "ls | grep SH2". I would like to move each file in this list to another directory.
Thanks (4 Replies)
I have have 6 empty directory below. I would like write bash scipt if any files less "1000000000" bytes then move to "/export/home/mytmp/final" folder first and any files greater than "1000000000" bytes then move to final1, final2, final3, final4, final4, final5 and that depend see how many files,... (6 Replies)
Greetings. I know enough Unix to be dangerous (!) and know that there is a clever way to do the following and it will save me about a day of agony (this time) and I will use it forever after! (many days of agony saved in the future)!
Basically
I need to find any image files (JPGs, PSDs etc)... (5 Replies)
I have this situation
/u03/app/banjobs> ls -ltr icg*
82 Jun 12 10:37 iicgorldi_2419186.log
56810484 Jun 17 10:35 icgorldi_2421592.xml
2859 Jun 17 10:35 icgorldi_2421592.lis
- 125 Jun 17 10:35 icgorldi_2421592.log
82 Jun 12 10:37 iicgorldi_2419187.log
... (8 Replies)
Hi All,
We have main directory called "head"
under this we have several sub directories and under these directories we have sub directories.
My requirement is I have to find the SQL files which are having the string "procedure" under "head" directory and sub directories as well.
And create... (14 Replies)
I have a script, which is checking if file exists and move it to another directory
if
then
mkdir -p ${LOCL_FILES_DIR}/cool_${Today}/monthly
mv report_manual_alloc_rpt_A_I_ASSIGNMENT.${Today}*.csv ${LOCL_FILES_DIR}/cool_${Today}/monthly
... (9 Replies)
Discussion started by: digioleg54
9 Replies
LEARN ABOUT CENTOS
reporter-rhtsupport
REPORTER-RHTSUPPORT(1) LIBREPORT MANUAL REPORTER-RHTSUPPORT(1)NAME
reporter-rhtsupport - Reports problem to RHTSupport.
SYNOPSIS
reporter-rhtsupport [-v] [-c CONFFILE] -d DIR
Or:
reporter-rhtsupport [-v] [-c CONFFILE] [-d DIR] -t[ID] FILE...
DESCRIPTION
The tool reads problem directory DIR. Then it logs in to RHTSupport and creates a new case.
The URL to new case is printed to stdout and recorded in reported_to element in DIR.
If not specified, CONFFILE defaults to /etc/libreport/plugins/rhtsupport.conf.
Option -t uploads FILEs to the already created case on RHTSupport site. The case ID is retrieved from directory specified by -d DIR. If
problem data in DIR was never reported to RHTSupport, upload will fail.
Option -tCASE uploads FILEs to the case CASE on RHTSupport site. -d DIR is ignored.
Configuration file
Configuration file lines should have PARAM = VALUE format. The parameters are:
Login
Login to RHTSupport account.
Password
Password to RHTSupport account.
URL
HTTP(S) address. (default: https://api.access.redhat.com/rs)
SSLVerify
Use yes/true/on/1 to verify server's SSL certificate. (default: yes)
Parameters can be overridden via $RHTSupport_PARAM environment variables.
Integration with ABRT events
reporter-rhtsupport can be used as an ABRT reporter. Example fragment for /etc/libreport/report_event.conf:
# Report Python crashes
EVENT=report_RHTSupport analyzer=Python
reporter-rhtsupport -d . -c /etc/libreport/plugins/rhtsupport.conf
OPTIONS -d DIR
Path to problem directory.
-c CONFFILE
Path to configuration file.
-t[ID]
Upload FILEs to the already created case on RHTSupport site.
SEE ALSO
abrt_event.conf
LIBREPORT 2.1.11 06/18/2014 REPORTER-RHTSUPPORT(1)