I need to sort through a volume that contains video files by access time and delete files that have not been accessed over x days. I have to use the access time as video files are originals that do not get modified, just read
Testing commands on a local test folder...
it would seem that simpletext3 would be in the -20 category, while the others would be in the +20. ???
Hello.
Consider the following magic words:
# ls `which adduser`
ls: /usr/sbin/adduser: No such file or directory
#
Hmmm...
Then:
# ls /usr/sbin/adduser
/usr/sbin/adduser
#
Now what?
Unforunately this little sniippet is used in my debian woody server's mysql pre install script.... (2 Replies)
Hi,
I use the command
ls a\b\c\*.txt
from the command line on HP UNIX and it works fine - It lists all files matching *.txt in the a\b\c directory
When embeded in a ksh script
`ls a\b\c\*.txt`
it does not work - I get *.txt not found (even though there are files)
I tried... (10 Replies)
Portion of my script below :
if ; then
NUMBEROFFEILDS=`cat ${BASE_SCRIPT_LOC}/standardfilecleanup.lst|grep -w ${db_file_path}|awk -F: '{print NF}'`
COUNT=4
while ; do
awk_var="$"`echo $COUNT`
file_name1=`cat ${BASE_SCRIPT_LOC}/standardfilecleanup.lst|grep -w... (1 Reply)
Hi,
I need to write a Linux shell script which will perform an FTP operation to another server.
main.sh will contain -
ftp -nd Dest.IP.address < ftpScript.sh
Contents of ftpScript.sh is given below -
user userid passwd
prompt
lcd /vidya/Input
cd vidya/Output
mput *.*
close
... (1 Reply)
for i in `cat /export/home/afahmed/Arrvial_time.txt`
do
echo $i
echo $i | awk '$3 < $D { print $4 }' >> dynamic_DF.txt;
done
When i echo, its echo as
Nov
15
02:24
/export/home/pp_adm/inbound//wwallet_20111115.txt where i expect it to be Nov 15 02:24... (7 Replies)
Hi. I am trying to start a script on my router that will execute even if i log off. To execute the script I write:
nohup ./dslconnection > dslstat.out 2>&1 &
It starts the job:
21968 admin 1604 S /bin/ash ./dslconnection
The problem is that when I log back in the job has been... (6 Replies)
Hi,
I have prepared a script and trying to execute it but not getting expected output. Could you please help and advise what is going wrong.
"If else" part in below script is not working basically.
I am running it on HP-UX.
for i in slpd puma sfmdb
do
echo "******\t$i\t*******"
echo... (10 Replies)
I ran into the following and still do not understand entirely the rationale behind this. If someone could explain why things are as they are I'd be thankful.
The following was tested on AIX 7.1 with ksh88, but i suspect that to be ubiquitous. In an installation routine i had to create a set of... (6 Replies)
Hi Experts,
Need your kind help with gsub awk.
Below is my pattern:"exec=1_host_cnt=100_dup=4_NameTag=targetSrv_500.csv","'20171122112948"," 100"," 1"," 1"," 4","400","","",
" aac sample exec ""hostname=XXXXX commandline='timeout 10 openssl speed -multi 2 ; exit 0'"" ","-1","-1","1","... (6 Replies)
Discussion started by: pradyumnajpn10
6 Replies
LEARN ABOUT DEBIAN
desktop::notify::notification
Desktop::Notify::Notification(3pm) User Contributed Perl Documentation Desktop::Notify::Notification(3pm)NAME
Desktop::Notify::Notification - a notification object for the desktop notifications framework
VERSION
Version 0.03
SYNOPSIS
# $notify is an existing Desktop::Notify object
my $note = $notify->create(summary => 'Rebuilding FooBar',
body => 'Progress: 10%');
$note->show;
...
# Update the notification later
$note->body('Progress: 20%');
$note->show;
...
# Take it off the screen
$note->close;
DESCRIPTION
Desktop notification objects are represented as objects of this class. They are created by a Desktop::Notify object. Displaying, closing,
and modifying the notification is done by using methods in this class.
METHODS
new $notify, %params
This is called internally by Desktop::Notify to create a new notification object.
show
Display the notification on the screen. If this notification had previously been shown and not closed yet, it will replace the existing
notification.
Show can be called multiple times on the same notification, probably with attribute changes between calls, and later show calls will cause
the server to seamlessly replace the existing notification.
close
Close the notification if it is already being displayed.
ATTRIBUTES
The following parameters can be set when creating the object or later modified using accessors (descriptions are from the specification at
<http://www.galago-project.org/specs/notification/0.9/x408.html>)
summary
The summary text briefly describing the notification.
body
The optional detailed body text. Can be empty.
timeout
The timeout time in milliseconds since the display of the notification at which the notification should automatically close.
If -1, the notification's expiration time is dependent on the notification server's settings, and may vary for the type of
notification. If 0, never expire.
The following extra parameters are included in the specification but not supported by Desktop::Notify at this time
app_icon
The optional program icon of the calling application.
actions
Actions are sent over as a list of pairs. Each even element in the list (starting at index 0) represents the identifier for the action.
Each odd element in the list is the localized string that will be displayed to the user.
hints
Optional hints that can be passed to the server from the client program.
perl v5.10.1 2009-12-25 Desktop::Notify::Notification(3pm)