Hi guys,
I have a directory in UNIX having files with the below format, i need to pickup the latest file having recent timestamp embedded on it, then need to rename it to a standard file name.
Below is the file format:
filename_yyyymmdd.csv, i need to pick the latest and move it with the... (1 Reply)
Hi guys,
I have a directory in UNIX having files with the below format, i need to pickup the latest file having recent timestamp embedded on it, then need to rename it to a standard file name.
Below is the file format:
filename_yyyymmdd.csv, i need to pick the latest and move it with the... (2 Replies)
hi all,
not sure if this has been posted b4 but i try to search but not valid.
this is my question:
when i do a ls -ltr there will be a list generated as follows:
-rw-r--r-- 1 root sys 923260 Jan 10 04:38 FilePolling.41025.083TL021.xml
-rw-r--r-- 1 root sys 1761337 Jan 10 04:40... (12 Replies)
I have a few log files which get generated on a daily basis..So, I need to pick only the ones which get generated for that particular day.
-rw-r--r-- 1 staff 510732676 Apr 7 22:01 test.log040711
-rwxrwxrwx 1 staff 2147482545 Apr 7 21:30 test.log.2
-rwxrwxrwx 1 staff 2147482581 Apr 7 19:26... (43 Replies)
HI,
I have to write a unix script and need your help.
in my application where I have to invoke this script a varialble is there where the value comes in a variable . for example variable can be var=ABC
like this there will be any type of value in the vcariable.
there is a unix directory... (2 Replies)
Hi Friends,
Newbie to shell scripting. Currently i have used the below to sort data based on filenames and datestamp
$ printf '%s\n' *.dat* | sort -t. -k3,4
filename_1.dat.20120430.Z
filename_2.dat.20120430.Z
filename_3.dat.20120430.Z
filename_1.dat.20120501.Z
filename_2.dat.20120501.Z... (1 Reply)
Hi Friends,
Newbie to shell scripting
Currently i have used the below to sort data based on filenames and datestamp
$ printf '%s\n' *.dat* | sort -t. -k3,4
filename_1.dat.20120430.Z
filename_2.dat.20120430.Z
filename_3.dat.20120430.Z
filename_1.dat.20120501.Z
filename_2.dat.20120501.Z... (12 Replies)
Hi,
I have a file which generate Timestamp in this format :-
20121012162354
20121114191610
20121210232808
20121216220002
20130106220002
20130127220001
20130203220001
20121012162354
20121114191610
20121210232808
20121216220002
20130106220002
20130127220001
20130203220001 (2 Replies)
Hi All,
I have list of files like below with name abcxyz.timestamp. I need a unix command to pick the latest file from the list of below files. Here in this case the lates file is abcxyz.20190304103200. I have used this unix command "ls abcxyz*|tail -1" but i heard that it is not the appropriate... (2 Replies)
Discussion started by: rakeshp
2 Replies
LEARN ABOUT DEBIAN
filter-mouse
filter-mouse(7) GGI filter-mouse(7)NAME
filter-mouse - Generic mouse event translator
SYNOPSIS
filter-mouse: [<file>]
DESCRIPTION
This filter translates mouse events according to a set of translation rules.
OPTIONS
file The name of the configuration file. If none given, the filter will first look for the file filter/mouse in the user GGI directory
($HOME/.ggi/ on UNIX), then in the base GGI directory if not found.
CONFIGURATION
The translation rules are specified through a simple text file. The following example gives a good idea of the mouse filter usage. A #
marks the rest of the line as a comment.
EXAMPLE
A set of mouse translation rules:
# Syntax is:
# incoming-type [type-specifics] TO outgoing type [type-specifics]
#
# Simulated mouse buttons on the keyboard
#
#KEY modmask modvalue button label symbol TO BUT buttonnumber
KEY 0x0004 0x0004 0xffff 0x000d 0xffff TO BUT 1 # Alt-Enter
KEY 0x0004 0x0004 0xffff 0x0020 0xffff TO BUT 2 # Alt-Space
KEY 0x0004 0x0004 0xffff 0x0008 0xffff TO BUT 3 # Alt-BackSpace
#
# Keyboard-Mouse on the Cursors
#
#KEY modmask modval button label symbol TO REL axis value
KEY 0x0004 0x0004 0xffff 0xe034 0xffff TO REL X -5 # Alt-Left
KEY 0x0004 0x0004 0xffff 0xe035 0xffff TO REL X 5 # Alt-Right
KEY 0x0004 0x0004 0xffff 0xe032 0xffff TO REL Y -5 # Alt-Up
KEY 0x0004 0x0004 0xffff 0xe033 0xffff TO REL Y 5 # Alt-Down
#
# Keyboard mouse on the Numpad
#
KEY 0x0004 0x0004 0xffff 0xe231 0xffff TO REL X -5 # Alt-Num1
KEY 0x0004 0x0004 0xffff 0xe231 0xffff TO REL Y 5 # Alt-Num1
KEY 0x0004 0x0004 0xffff 0xe232 0xffff TO REL Y 5 # Alt-Num2
KEY 0x0004 0x0004 0xffff 0xe233 0xffff TO REL X 5 # Alt-Num3
KEY 0x0004 0x0004 0xffff 0xe233 0xffff TO REL Y 5 # Alt-Num3
KEY 0x0004 0x0004 0xffff 0xe234 0xffff TO REL X -5 # Alt-Num4
KEY 0x0004 0x0004 0xffff 0xe235 0xffff TO BUT 1 # Alt-Num5 - Button
KEY 0x0004 0x0004 0xffff 0xe236 0xffff TO REL X 5 # Alt-Num6
KEY 0x0004 0x0004 0xffff 0xe237 0xffff TO REL X -5 # Alt-Num7
KEY 0x0004 0x0004 0xffff 0xe237 0xffff TO REL Y -5 # Alt-Num7
KEY 0x0004 0x0004 0xffff 0xe238 0xffff TO REL Y -5 # Alt-Num8
KEY 0x0004 0x0004 0xffff 0xe239 0xffff TO REL X 5 # Alt-Num9
KEY 0x0004 0x0004 0xffff 0xe239 0xffff TO REL Y -5 # Alt-Num9
#
# Home the cursor ...
#
KEY 0x0004 0x0004 0xffff 0xE038 0xffff TO ABS X 0 # Alt-Home
KEY 0x0004 0x0004 0xffff 0xE038 0xffff TO ABS Y 0 # Alt-Home
#
# Invert mouse axis
#
#REL modmsk modval axis TO REL axis multiplier
REL 0x0004 0x0004 X TO REL Y -1
REL 0x0004 0x0004 Y TO REL X -1
#
# Accelerate mouse
#
# multiplier treshold higher-speed
REL 0x0004 0x0004 X TO REL X 1 5 4
REL 0x0004 0x0004 Y TO REL Y 1 5 4
#
#
# Invert mouse buttons
BUT 0x0004 0x0004 1 TO BUT 2
BUT 0x0004 0x0004 2 TO BUT 1
libgii-1.0.x 2003-08-11 filter-mouse(7)