Good morning,
I would like to find all files of a certain type and display their name as well as their modification date.
In order to do this, I would do the following:
find ./ -name *.csv | ????????
My question: what to put after the pipe instead of the question marks? Is there a basic... (5 Replies)
Hi
I'd like to know if is it possible to find files given a certain modification date (say, 01-05-2006, that's 1st of May 2006)
I can calculate the days backward:
find / -ctime 23
but I wish to search by exact modification day
Thanks (5 Replies)
Goodmorning,
I have a server with solaris 2.6 installed.
Is it possible modify system date only temporary that, automatically, after a reboot, I can have again the date after the temporary mofication?
I don't want to use "date" command after reboot for tidy up date. I only want to find a... (2 Replies)
Hi,
I was very surprised to not be able to find an answer to this question despite my best efforts in Google and elsewhere. Maybe it's a good thing as it forced me to finally become a member in this great forum that i use frequently.
Ok my question:
I want to be able to sort files inside a... (3 Replies)
Hi everyone,
I have files like file1_Mod.txt, file2_Mod.txt. I want to rename the old files with the last modification date. I write the below script to rename with current date, but I donīt know how to use "date -r" to get the last modification date with the same format I have below... (5 Replies)
I'm trying to get the date output to be in the form yyyy-mm-dd (e.g. 2013-01-18)
!/bin/sh
modDate=$(stat -c %y $1)
echo $modDate >> $1
When I run this on another file (by typing ./dateScript theFile.txt), I keep getting this message:
stat: illegal option -- c
What's wrong with my code... (2 Replies)
Hello all !
I have a piece of code that generates the date of one day ago:
/usr/bin/gdate --date='1 day ago' | awk '{print $2 " " $3}'
Nov 3
I want the output to be in the form :
Nov 03
What other operation should I do for that ?
Help (2 Replies)
First, oh great Unix gurus, forgive if this is a stupid question.
Unix/Linux is not my main thing but I have been programming in C/C++ for many years. I will do my best to be specific.
I have a program in C/C++ that needs to modify the time of a given file. Currently I do this using utime()... (5 Replies)
SunOS -s 5.10 Generic_147440-04 sun4u sparc SUNW,SPARC-Enterprise
Hi,
In a folder, there are files. I have a script which reads the current date and subtract the modification date of each file.
How do I achieve this?
Regards,
Joe (2 Replies)
Discussion started by: roshanbi
2 Replies
LEARN ABOUT BSD
autofs
AUTOFS(8) System Manager's Manual AUTOFS(8)NAME
/etc/init.d/autofs - Control Script for automounter
SYNOPSIS
/etc/init.d/autofs start|stop|restart|reload|status
DESCRIPTION
autofs control the operation of the automount(8) daemons running on the Linux system. Usually autofs is invoked at system boot time with
the start parameter and at shutdown time with the stop parameter. The autofs script can also manually be invoked by the system administra-
tor to shut down, restart or reload the automounters.
OPERATION
autofs will consult a configuration file /etc/auto.master (see auto.master(5)) by default to find mount points on the system. For each of
those mount points automount(8) will mount and start a thread, with the appropriate parameters, to manage the mount point.
/etc/init.d/autofs reload will check the current auto.master map against running daemons. It will kill those daemons whose entries have
changed and then start daemons for new or changed entries.
If a map is modified then the change will become effective immediately. If the auto.master map is modified then the autofs script must be
rerun to activate the changes.
/etc/init.d/autofs status will display the status of, automount(8), running or not.
SEE ALSO automount(8), autofs(5), auto.master(5). autofs_ldap_auth.conf(5)AUTHOR
This manual page was written by Christoph Lameter <chris@waterf.org>, for the Debian GNU/Linux system. Edited by H. Peter Anvin
<hpa@transmeta.com>.
9 Sep 1997 AUTOFS(8)