I have found this one but from this script while running I have to mention the file name. But what I actually require is to check the current date files size from multiple folders.
Regards,
Pinaki
---------- Post updated at 06:48 PM ---------- Previous update was at 01:41 PM ----------
Hi Rovf,
Yes I got some hints. It can be done through the for loop to check the files for multiple directories. Though I am new but yet I am just trying to create that. Thank you for your suggestion.
Hi,
I am making a script which check the directory and if there is today date file, it is showing message file is there for today date .
1) filename is accessline.win.$timestamp
example ;-accessline.win.200712211004
2) On monday i have recieved two file in this directory with current... (2 Replies)
################################################################
Copy this script to your path from where you want to search for all the files and directories in subdirectories recursively.
#################################################################
code starts here... (2 Replies)
Hello - I have written the following basic shell script to count files, compare files and look for a particular strings in a file.
Problem 1: How do I define more than 1 file location?
#!/bin/bash
#this is a test script
FILES=$(ls /home/student/bin/dir1, home/student/bin/dir2)... (0 Replies)
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)
Hi All..
I'm seeking assistance with editing a script to search log files in several directories.
I'm close to what I'm seeking, but need additional guidance.
The log files are always listed by current date; however, inside the log file includes dates that go back to 2011.
What I'm... (6 Replies)
Hi All,
I'm trying to find a file which is created on current day.... I searched in unix.com and i found, below command.
find /land/ -mtime -1 -type f -print | grep "FF_Member_STG.dat"
The command checks if the file with name "FF_Member_STG.dat" is created today then exit else proceed.
... (3 Replies)
Hi All,
I have written the following code
do
FILE_NO=$(echo $LINE|awk -F"|" '{print $1}'|tr "'" '+'|sed 's/\(.*\)\(++\)\(.*\)\(++\)/\3/')
INST_NO=$(echo $LINE|awk -F"|" '{print $2}'|tr "'" '+'|sed 's/\(.*\)\(++\)\(.*\)\(++\)/\3/')
if ]
then
... (3 Replies)
I am trying to work on a script where it is a *(star) delimited file has a multiple lines starts with RTG and 3rd column=TD8 I want to substring the date part and
I want to replace with currentdate minus 15 days. Here is an example. iam using AIX server
$ cat temp.txt
RTG*888*TD8*20180201~... (1 Reply)
Hi,
My question is how to calculate the quarter end date according to the current date in shell script? (2 Replies)
Discussion started by: Divya_1234
2 Replies
LEARN ABOUT SUSE
ifplugd.conf
ifplugd.conf(5) File Formats Manual ifplugd.conf(5)NAME
ifplugd.conf - ifplugd configuration file
SYNOPSIS
/etc/ifplugd/ifplugd.conf
DESCRIPTION
ifplugd.conf is the configuration file for ifplugd. It is a shell script that is sourced by the init script starting the daemon. It shall
be used to set environment variables which are interpreted by the init script:
OPTIONS
INTERFACES
Specifies the ethernet interfaces to monitor. It has to contain a space seperated list of network interfaces names. Most users will
probably use "eth0" here, however you may add additional interfaces for monitoring more than one device. A special value is sup-
ported as well: "auto" will enable a more or less working auto detection of available network devices. This won't make you happy
when using network module auto loading, since it cannot detect currently unloaded network devices.
ARGS Additional command line arguments for ifplugd invocation. See ifplugd(8) for further information.
ARGS_iface
If specified for an interface this variable takes precedence over ARGS. This may be useful if more than one network device is
present.
SEE ALSO ifplugd(8)COMMENTS
This man page was written using xmltoman(1) by Oliver Kurth.
Manuals User ifplugd.conf(5)