Sponsored Content
Top Forums Shell Programming and Scripting Getting modified time & filename only Post 302184653 by hanu_oracle on Saturday 12th of April 2008 09:11:53 AM
Old 04-12-2008
Hai Seera,

Try this..

ls -l | awk '{print $6 $7 $8 $9}'
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Modified time

How do you change the modified time of a file on UNIX?? (4 Replies)
Discussion started by: frank
4 Replies

2. Shell Programming and Scripting

getting last accessed and modified time together

actually, i'm making an Intrusion Detection System for education purpose (for project) using Bourne shell. The problem I get in that is:- 1. My application should check if there's some modification or alteration in the directory. 2, For that thing, I need to have every attribute of file and... (1 Reply)
Discussion started by: raku05
1 Replies

3. UNIX for Advanced & Expert Users

Find and store files based on FileName and Modified Time

Hi, I am currently using the following command: files=(ls enuCPU??.????.exp ntuCPU??.????.exp) I need to now change the commmand to store the file names of files that have been modified before datetime equal to say '02/16/2008 20:30:00' What could I use? (2 Replies)
Discussion started by: edisonantus
2 Replies

4. Shell Programming and Scripting

Compare Last Modified Time across Time Zone

Hi, I'm new to shell script programming, I only have Java programming background. I'm writing a shell script to do file synchronization between 2 machines that located at different time zone area. Both machine were set its time zone according to its geographical location (Eg: server is at... (1 Reply)
Discussion started by: python
1 Replies

5. UNIX for Dummies Questions & Answers

Adding Date & time stamps to filename

I need to edit the file name with date and time while writing the script. please help. (1 Reply)
Discussion started by: manish.s
1 Replies

6. Shell Programming and Scripting

How to get a filename modified by attaching modified timestamp

Hi, I want to modify a filename in AIX by attaching the last modified timestamp. I want the timestamp completely in numerical format (eg:200905081210. yr-2009, mnth - 05, date -08, hr - 12, mins - 10). For example if the filename is a.log and it was modified on April 6th 2008 at 21.00. I... (16 Replies)
Discussion started by: Ruks
16 Replies

7. Homework & Coursework Questions

Grep for modified time

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: is it possible to come up with a list of files that are modified before a certain number of hours only using the... (3 Replies)
Discussion started by: momo.reina
3 Replies

8. Shell Programming and Scripting

Shell script to use the last modified filename in a variable

Forgive me if this is a trivial question, but I haven't been able to find the answer to this. Basically I've got a list of files in a particular directory that have the general form t_*.dat. (I have other files in the same directory as well). Essentially what I want to do is obtain the name... (1 Reply)
Discussion started by: lost.identity
1 Replies

9. Shell Programming and Scripting

Find file by filename or with newest modified date

Hi, I have a directory that has numerous files in it, and there is two which are named "filerec_ddmmyyHH24MMSS" by the time they are created so "filerec_010615012250" was created at 01:22:50 on 1st June 2015. I need to find the most recently created of those 2 files and get the contents of... (4 Replies)
Discussion started by: finn
4 Replies

10. UNIX for Dummies Questions & Answers

Find all files containing string not following symlinks CAT (modified) output content to /filename

This should recursively walk through all dirictories and search for a specified string in all present files, if found output manicured content (eg some regex) with CAT into a specified directory (eg /tmp/) one by one, keeping the original names This is what I have so far, which seems to... (1 Reply)
Discussion started by: lowmaster
1 Replies
GPIV_SCALE(1)						      General Commands Manual						     GPIV_SCALE(1)

NAME
gpiv_scale - Scaling of PIV data. SYNOPSIS
gpiv_scale [-h | --help] [-p | --print] [-s M |-S M] [-t dT |-T dT] [-v | --version] [-zp x0 y0] [-zv x0 y0] [filename] < stdin > stdout DESCRIPTION
gpiv_scale applies the image magnification and the time between successive recordings to the PIV estimators. This results that particle displacements [px] are modified to velocities [m/s] and their positions from [px] to [m]. A physical reference for the positions of the PIV data can be applied by means of the image zero-offset option. If filename is used, the parameters and options to be used for gpiv_scale are subsequently read from the image header (filename.h in case of raw binary images) or from the configuration resources (containing the IMG and POST keys). The parameters may be overruled by the com- mand line options, as explained below. Options -h | --help On-line help. -p | --print Prints parameters, command line options and input and output filenames to stdout. The output is identic of filename.par, in case -f is used. -s M spatial scaling with magnification factor M [m/px] -S M Inverse spatial scaling with magnification factor M [m/px]; returns scaled data to their original magnitudes. -v | --version Prints version information on standard output, then exits successfully. -t dT Translates particle displacements into velocities by devising them with the time between subsequent recordings dT [s]. -T dT Inverse time scaling. Returns velocities into displacements [px] [-z x0 y0] Relates the positions of the observations of velocities/displacements to a physical location in the experiment by image zero offset- ting. x0 y0 denote the physical position of pixel (0,0) in the image. filename Input PIV file. Overrides stdin and stdout. The output will be written to filename.sc.piv. Parameters are stored in filename.par and may be used for future use by including them in ./gpivrc. SEE ALSO gpivtools NOTES
AUTHOR
Gerber Van der Graaf BUGS
The program has been tested for PIV data. So far, no bugs have been found. 8 November 2006 GPIV_SCALE(1)
All times are GMT -4. The time now is 08:01 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy