Sponsored Content
Full Discussion: Last Accessed Time Script
Top Forums Shell Programming and Scripting Last Accessed Time Script Post 302420783 by digitaljunkie on Wednesday 12th of May 2010 11:47:35 AM
Old 05-12-2010
Thanks

i want the format to be...

TimeStamp of last (Access/Modify) <Space> FilePath

e.g:

01/12/2009 /Volumes/Data_RAID/Sharepoints/Accounts/some old report.xls
 

10 More Discussions You Might Find Interesting

1. 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

2. Shell Programming and Scripting

how to know which login file is being accessed

when unix is logged in it access some login file depending on the shell like .cshrc , .login , .vimrc , .bashrc how can we know which is being access in a perticular unix flavor. (1 Reply)
Discussion started by: useless79
1 Replies

3. Shell Programming and Scripting

Can we get the list of users who accessed a file

Hi all, I will thankful if anybody helps me in finding out the users who accessed any of our files. Thanks in advance Chanakya (2 Replies)
Discussion started by: Chanakya.m
2 Replies

4. AIX

File Accessed Alarm ??

Hey, I want to ask a simple Question.... How would I be able to come to know that files/directoires in a Parent directory has been accessed (means contents of the file has been just viewed) by the user(s) in a group ? and mail the name(s) of those files/directories which has been accessed... (1 Reply)
Discussion started by: varungupta
1 Replies

5. Shell Programming and Scripting

File Accessed Alarm ??

Hey, I want to ask a simple Question.... How would I be able to come to know that files/directoires in a Parent directory has been accessed (means contents of the file has been just viewed) by the user(s) in a group ? and mail the name(s) of those files/directories which has been accessed... (16 Replies)
Discussion started by: varungupta
16 Replies

6. UNIX for Dummies Questions & Answers

Searching files by last accessed time

How can I search for files by last accessed time? I want to see files accessed in the last 24 hours, for example...or even less time, maybe in the last 3 hours? Thank you in advance, Trellot (4 Replies)
Discussion started by: Trellot
4 Replies

7. Shell Programming and Scripting

Shell script to convert epoch time to real time

Dear experts, I have an epoch time input file such as : - 1302451209564 1302483698948 1302485231072 1302490805383 1302519244700 1302492787481 1302505299145 1302506557022 1302532112140 1302501033105 1302511536485 1302512669550 I need the epoch time above to be converted into real... (4 Replies)
Discussion started by: aismann
4 Replies

8. Shell Programming and Scripting

Ftp script hangs for first time,but works every second time

Hi I have an ftp script which works fine when i execute through a test scheduler(UC4), but when i run it through the prod scheduler(UC4), it hungs indefinetely, when we cancel the job and re-run it it works perfectly fine. here is the code,, any idea why this is happening ???? ... (1 Reply)
Discussion started by: selvankj
1 Replies

9. UNIX for Advanced & Expert Users

Track the files accessed by a script.

How can i track all the files accessed by script. The script is supposed to bring up my application and this script is just the main script which inturn calls another scripts and executable. I need to know all the the files this main script calls and the files accessed by all the other scripts... (2 Replies)
Discussion started by: chacko193
2 Replies

10. UNIX for Dummies Questions & Answers

File shows in ls but cannot be accessed

I can do an ls -l CD* and see the following CDTEST userA RW RW R and I an logged on as userA. But if I do an ls -l the file does not appear. If I do a vi CDTEST it tries to create a new file named CDTEST. If I do a mv or rm I get the message no file of name CDTEST found. Any idea what is going on.... (3 Replies)
Discussion started by: LeeT
3 Replies
httpd_conf(3erl)					     Erlang Module Definition						  httpd_conf(3erl)

NAME
httpd_conf - Configuration utility functions to be used by the Erlang Web server API programmer. DESCRIPTION
This module provides the Erlang Webserver API programmer with utility functions for adding run-time configuration directives. EXPORTS
check_enum(EnumString,ValidEnumStrings) -> Result Types EnumString = string() ValidEnumStrings = [string()] Result = {ok,atom()} | {error,not_valid} check_enum/2 checks if EnumString is a valid enumeration of ValidEnumStrings in which case it is returned as an atom. clean(String) -> Stripped Types String = Stripped = string() clean/1 removes leading and/or trailing white spaces from String . custom_clean(String,Before,After) -> Stripped Types Before = After = regexp() String = Stripped = string() custom_clean/3 removes leading and/or trailing white spaces and custom characters from String . Before and After are regular expres- sions, as defined in regexp(3erl) , describing the custom characters. is_directory(FilePath) -> Result Types FilePath = string() Result = {ok,Directory} | {error,Reason} Directory = string() Reason = string() | enoent | eaccess | enotdir | FileInfo FileInfo = File info record is_directory/1 checks if FilePath is a directory in which case it is returned. Please read file(3erl) for a description of enoent , eaccess and enotdir . The definition of the file info record can be found by including file.hrl from the kernel application, see file(3erl). is_file(FilePath) -> Result Types FilePath = string() Result = {ok,File} | {error,Reason} File = string() Reason = string() | enoent | eaccess | enotdir | FileInfo FileInfo = File info record is_file/1 checks if FilePath is a regular file in which case it is returned. Read file(3erl) for a description of enoent , eaccess and enotdir . The definition of the file info record can be found by including file.hrl from the kernel application, see file(3erl). make_integer(String) -> Result Types String = string() Result = {ok,integer()} | {error,nomatch} make_integer/1 returns an integer representation of String . SEE ALSO
httpd(3erl) Ericsson AB inets 5.5.2 httpd_conf(3erl)
All times are GMT -4. The time now is 10:01 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy