02-11-2013
Touch two files with the right times and "find ... -type f -newer low_time ! -newer high_time"?
This User Gave Thanks to DGPickett For This Post:
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
How to list all the files which are not generated today, and move all the above files to backup dir. (2 Replies)
Discussion started by: redlotus72
2 Replies
2. Shell Programming and Scripting
Hi All,
I'm working on a ftp shell script in which I'm tranfering files from one sever to another using ftp.
Some program generates files at undefined time & throughout the day.
I have to transfer the files time to time.. i.e. once the file is generated, it should be transfered at the very... (3 Replies)
Discussion started by: im_new
3 Replies
3. UNIX for Advanced & Expert Users
Hi All,
I was checking some of the files and I got the following entries:-
===============
v, 664, serv, serv, version.txt, exe
L, 775, serv, serv, start.sh, eventserv
================
Could someone please tell me what does the type"v" and "L" represent to.
I have not... (2 Replies)
Discussion started by: shubhranshu
2 Replies
4. Shell Programming and Scripting
I need a scriptto print only those files from a list of files starting with STMT* which are not of zero bytes ...i.e they have some size
if these are the files
631
-rw-r--r-- 1 assrisa assrisa 39099 Aug 19 07:16 STMT_05_D1090819_T071320
-rw-r--r-- 1 assrisa assrisa 0 Aug 19... (2 Replies)
Discussion started by: viv1
2 Replies
5. Solaris
Hi,
We have an application ASPA . The application related processes are running in /ASPA/bin directory . now whenever a process terminates abruptly , a core file should be generated (correct me if i am wrong) in the
/ASPA/bin directory . But i am not able to see any such files . The... (4 Replies)
Discussion started by: asalman.qazi
4 Replies
6. Shell Programming and Scripting
I was trying to figure out in Korn shell but this may apply elsewhere how to generate a list of files from a directory created in the last 10 seconds or less. I have used the find command in the past with -mtime which is measured in days to get a list of files older than say 7 days for example. ... (1 Reply)
Discussion started by: lee_murray
1 Replies
7. Shell Programming and Scripting
Hi
I have the following files generated by different users on a directory
-rw-rw-r-- 1 NAME1 database03 809 Nov 17 10:41 PCAS_CARD_TRANS_OFF.1111171041.lg
-rw-rw-r-- 1 richard ccsdba 10968411 Nov 17 10:43 load_123_RX0_0.1111171016.lg
-rw-rw-r-- 1 DEV db03 10713 Nov 17... (5 Replies)
Discussion started by: bobby1015
5 Replies
8. Shell Programming and Scripting
I would like to find the Files which are generated today in the current directory:
I use the commad ls -lrt * | egrep " `date "+%b"` * `date "+%d"`
to acheive this. Is there any better way to acquire the same.
Multiple answers will be great. Thanks (3 Replies)
Discussion started by: kusathy
3 Replies
9. Shell Programming and Scripting
Hi Guys,
I am developing a script to monitor log file Generated every hour.
When creating a new file scripts not working.
My Code . I want to monitor GatewayTransaction.yyyymmdd-hh.log
while true; do newdate=$(date '+%Y%m%d') ; nowdate=$(date '+%Y%m%d-%H.log'); tail -f... (7 Replies)
Discussion started by: ooilinlove
7 Replies
10. Shell Programming and Scripting
Hello please help me on this,
pick the last one hour lines from the log, which have the prefix time format like this.
log message
log message
i tried to do grep, but that failed.
my code
grep '(date +)' log_file_path
This checking only the current time stamp. How to get the log... (16 Replies)
Discussion started by: santosh2626
16 Replies
LEARN ABOUT CENTOS
snapper-configs
SNAPPER-CONFIGS(5) Filesystem Snapshot Management SNAPPER-CONFIGS(5)
NAME
snapper-configs - Configuration files for snapper configs
DESCRIPTION
Each file /etc/snapper/configs/* describes a snapper config.
VARIABLES
The following is a list of variables that can be present in the configuration file. Boolean values must be "yes" or "no".
SUBVOLUME=path
Path of the subvolume or mount point.
There is no default value. The value must always be specified.
FSTYPE=value
Filesystem type for the subvolume.
Default value is "btrfs" but it's recommended to always specify the filesystem type.
ALLOW_USERS=users
List of users allowed to operate with the config. The user-names must be separated by spaces. Spaces in usernames can be escaped with a
"".
Default value is "" but "root" is always implicitly included.
ALLOW_GROUPS=groups
List of groups allowed to operate with the config. The group-names must be separated by spaces. Spaces in group-names can be escaped
with a "".
Default value is "".
BACKGROUND_COMPARISON=boolean
Defines whether pre and post snapshots should be compared in the background after creation.
Default value is "no".
NUMBER_CLEANUP=boolean
Defines whether the number cleanup algorithm should be run for the config.
Default value is "no".
NUMBER_MIN_AGE=seconds
Minimal age for snapshots to be deleted by the number cleanup algorithm.
Default value is "1800".
NUMBER_LIMIT=number
Defines how many snapshots the number cleanup algorithm should keep. The youngest snapshots will be kept.
Default value is "50".
TIMELINE_CREATE=boolean
Defines whether hourly snapshots should be created.
Together with the timeline cleanup algorithm this will create a collection of snapshots with more snapshots is the near past and less
snapshots in the far past.
Default value is "no".
TIMELINE_CLEANUP=boolean
Defines whether the timeline cleanup algorithm should be run for the config.
Default value is "no".
TIMELINE_MIN_AGE=seconds
Minimal age for snapshots to be deleted by the timeline cleanup algorithm.
Default value is "1800".
TIMELINE_LIMIT_HOURLY=number
Defines how many hourly snapshots the timeline cleanup algorithm should keep. An hourly snapshots is the first snapshot in an hour. The
youngest hourly snapshots will be kept.
Default value is "10".
TIMELINE_LIMIT_DAILY=number
Defines how many daily snapshots the timeline cleanup algorithm should keep. A daily snapshots is the first snapshot in a day. The
youngest daily snapshots will be kept.
Default value is "10".
TIMELINE_LIMIT_MONTHLY=number
Defines how many daily snapshots the timeline cleanup algorithm should keep. A daily snapshots is the first snapshot in a day. The
youngest daily snapshots will be kept.
Default value is "10".
TIMELINE_LIMIT_YEARLY=number
Defines how many daily snapshots the timeline cleanup algorithm should keep. A daily snapshots is the first snapshot in a day. The
youngest daily snapshots will be kept.
Default value is "10".
EMPTY_PRE_POST_CLEANUP=boolean
Defines whether the empty-pre-post cleanup algorithm should be run for the config.
Default value is "no".
EMPTY_PRE_POST_MIN_AGE=seconds
Minimal age for snapshots to be deleted by the empty-pre-post cleanup algorithm.
Default value is "1800".
HOMEPAGE
http://snapper.io/
AUTHORS
Arvin Schnell <aschnell@suse.de>
SEE ALSO
snapper(8), snapperd(8)
0.1.7 2013-07-09 SNAPPER-CONFIGS(5)