12-07-2010
Script to send email after comparing the folder permissions to a certain permission & send email
Hello ,
I am trying to write a unix shell script to compare folder permission to say drwxr-x-wx and then send an email to my id in case the folders don't have the drwxr-x-wx permissions set for them .
I have been trying to come up with a script for few days now , pls help me
8 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi
A) I am able to send eMail using mailx from a UNIX ( solaris 8 ) host to my Outlook-email-ID : FName.Surname@Citigroup.com ( This is NOT my actual -eMail-ID). But in Outlook the "From :" eMail address is displayed as
" usr1@unix-host1.unregistered.email.citicorp.com " .i.e the words... (2 Replies)
Discussion started by: Vetrivela
2 Replies
2. Solaris
Hello everyone
I have a problem and I need your help:
I have a Solaris 10 and Solaris 8 UNIX Servers, and Linux Centos4 as email server.
I need send an email from Solaris servers preferably using Centos4 email server.
I have no mail service configured in my Solaris computers (1 Reply)
Discussion started by: aflores
1 Replies
3. Shell Programming and Scripting
Hi,
I have a script which updates a repository which is run manually. When this happens either no or new files will be added to a specific folder. If there are new files that have been added, an email needs to be sent. How can i check a folder for any new files after the update repos script has... (0 Replies)
Discussion started by: acc01
0 Replies
4. UNIX for Dummies Questions & Answers
hi, i'm running openldap on ubuntu 10.04, creating new items with apache directory studio (windows version).
i use the ldap just as an address book to our small office (email clients are windows live mail 2009, 2011, microsoft outlook 2007 and 2010).
a. i cant see a list of the contacts,... (0 Replies)
Discussion started by: V4705
0 Replies
5. UNIX for Advanced & Expert Users
Is there a way I can send a text file directly to my Drafts folder? (1 Reply)
Discussion started by: idontknow
1 Replies
6. Shell Programming and Scripting
Hi i created a cron job which invoke a shell script and output some content via email.
Some times these output are sent to the junk email folder. i want these mails to be sent to inbox with some specific font. what i have to do? (4 Replies)
Discussion started by: vidhyaS
4 Replies
7. Shell Programming and Scripting
I am very new to UNIX as well as scripting so please be gentle, haha.
I have a Linux client which has a mount point mapped to my /etc folder on a NetApp FAS system. I woudl like to be able to copy the hosts and rc files once a week from the FAS to a different location for backup.
When the... (4 Replies)
Discussion started by: minnino
4 Replies
8. Shell Programming and Scripting
Hi ,
I have a sql query in the unix script ,whose output is shown below.I want to convert this output to HTML table format & send email from unix with this table as email body.
p_id src_system amount
1 A 100
2 B 200
3 C ... (3 Replies)
Discussion started by: jagadeeshn04
3 Replies
LEARN ABOUT DEBIAN
synce-pls
PLS(1) http://synce.sourceforge.net/ PLS(1)
NAME
pls - list directory contents
SYNOPSIS
pls [-a] [-R] [-d LEVEL] [-p DEVNAME] [-h] [DIRECTORY]
DESCRIPTION
pls list the contents of a directory on a device connected through SynCE.
Forward slashes ('/') on the command line are converted to backward slashes ('').
File attributes
A Archive
C Compressed
D Directory
H Hidden
I In ROM
M ROM module (can only be executed, not read!)
N Normal
R Read-only
S System
T Temporary
OPTIONS
-d LEVEL
Set debug log level:
0 - No logging (default)
1 - Errors only
2 - Errors and warnings
3 - Everything
-p DEVNAME
Use the device with the given name, instead of the default.
-a Show all files including those marked as hidden.
-R Recursively list subdirectories.
-h Display help message.
DIRECTORY
The full path name to the directory. Wild cards are allowed, but only for the trailing part of the path, and should be protected
from the shell. If this parameter is relative, it is assumed to be relative to the "My Documents" folder. Similarly, if this parame-
ter is omitted, the contents of the "My Documents" folder is listed.
AUTHOR
This manual page was written by David Eriksson <twogood@users.sourceforge.net>.
SEE ALSO
synce(1) pcp(1) pls(1) prm(1) pmkdir(1) prmdir(1)
The SynCE project November 2002 PLS(1)