Sponsored Content
Top Forums Shell Programming and Scripting How to pick only the files which are generated in one hour? Post 302769104 by bdittmar on Monday 11th of February 2013 07:49:10 AM
Old 02-11-2013
find and copy

Hello,

use find with time options (-mtime, -ctime, -atime, -cmin ....)
and -exec cp in your cron.
This User Gave Thanks to bdittmar 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

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

Ftp all the generated files

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

Type v for generated files

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

need to pick out files which are not of zero bytes

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

core files not getting generated

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

Getting list of files generated last 10 seconds

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

Files generated by a particular user

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

Files generated today

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

How to tail real time file Generated every hour?

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

Pick the last one hour lines from log matching this pattern.

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
SoNodeKitDetail(3)						       Coin							SoNodeKitDetail(3)

NAME
SoNodeKitDetail - The SoNodeKitDetail class is yet to be documented. When a pick action is executed and geometry within a nodekit is hit, the nodekit generates an SoNodeKitDetail object which contains information about the specific part inside the nodekit hit by the pick ray. SYNOPSIS
#include <Inventor/details/SoNodeKitDetail.h> Inherits SoDetail. Public Member Functions virtual SoType getTypeId (void) const SoNodeKitDetail (void) virtual ~SoNodeKitDetail () virtual SoDetail * copy (void) const void setNodeKit (SoBaseKit *kit) SoBaseKit * getNodeKit (void) const void setPart (SoNode *part) SoNode * getPart (void) const void setPartName (const SbName &name) const SbName & getPartName (void) const Static Public Member Functions static SoType getClassTypeId (void) static void cleanupClass (void) static void initClass (void) Protected Attributes SoBaseKit * myNodeKit SoNode * myPart SbName myPartName Additional Inherited Members Detailed Description The SoNodeKitDetail class is yet to be documented. When a pick action is executed and geometry within a nodekit is hit, the nodekit generates an SoNodeKitDetail object which contains information about the specific part inside the nodekit hit by the pick ray. See also: SoRayPickAction Constructor &; Destructor Documentation SoNodeKitDetail::SoNodeKitDetail (void) Constructor. SoNodeKitDetail::~SoNodeKitDetail () [virtual] Destructor. Member Function Documentation SoType SoNodeKitDetail::getTypeId (void) const [virtual] Returns the type identification of a detail derived from a class inheriting SoDetail. This is used for run-time type checking and 'downward' casting. Usage example: void fuhbear(SoDetail * detail) { if (detail->getTypeId() == SoFaceDetail::getClassTypeId()) { // safe downward cast, know the type SoFaceDetail * facedetail = (SoFaceDetail *)detail; } return; // ignore if not a SoFaceDetail } For application programmers wanting to extend the library with new detail classes: this method needs to be overridden in all subclasses. This is typically done as part of setting up the full type system for extension classes, which is usually accomplished by using the pre- defined macros available through Inventor/nodes/SoSubDetail.h: SO_DETAIL_SOURCE and SO_DETAIL_INIT_CLASS. Implements SoDetail. SoType SoNodeKitDetail::getClassTypeId (void) [static] Returns the type for this class. Reimplemented from SoDetail. void SoNodeKitDetail::initClass (void) [static] Initialize relevant common data for all instances, like the type system. Reimplemented from SoDetail. SoDetail * SoNodeKitDetail::copy (void) const [virtual] Return a deep copy of ourself. Note that if the Coin library has been built as a DLL under Microsoft Windows and you use this method from application code, you must make sure that both the Coin DLL and the application executable is using the same instance of a C Run-Time (CRT) library. Otherwise, you will get memory heap corruption upon deallocating the returned instances, eventually leading to mysterious crashes. Implements SoDetail. void SoNodeKitDetail::setNodeKit (SoBaseKit *kit) Set the pointer indicating which nodekit generated this detail object. SoBaseKit * SoNodeKitDetail::getNodeKit (void) const Returns a pointer to the nodekit generating this details object. void SoNodeKitDetail::setPart (SoNode *part) Set the pointer indicating which node inside the nodekit was hit by a pick. SoNode * SoNodeKitDetail::getPart (void) const Return node inside nodekit which was hit. void SoNodeKitDetail::setPartName (const SbName &name) Set catalog name of node part which was hit. const SbName & SoNodeKitDetail::getPartName (void) const Return catalog name of nodekit part which was hit. Member Data Documentation SoBaseKit * SoNodeKitDetail::myNodeKit [protected] The nodekit generating this details object. SoNode * SoNodeKitDetail::myPart [protected] Node inside nodekit which was hit. SbName SoNodeKitDetail::myPartName [protected] Catalog name of nodekit part which was hit. Author Generated automatically by Doxygen for Coin from the source code. Version 3.1.3 Wed May 23 2012 SoNodeKitDetail(3)
All times are GMT -4. The time now is 06:27 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy