08-30-2013
Add file creation date as new column
Hi ,
I have a requirement to append file creation date to each row in a file for all the files in a directory.
Please help
Thanks,
Pavan
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi All,
I have some files which are creates every day using a script. I want to create a log files which does write "filename,creation day and time"
how can I do this ??
Alice (3 Replies)
Discussion started by: alisevA3
3 Replies
2. UNIX for Dummies Questions & Answers
Hi!!
I wanna display file names which are created before/after a particular date.
I wud be glad if anybody can help me out in that.
Thanx
Dhruv (1 Reply)
Discussion started by: dhruv_saksena
1 Replies
3. UNIX for Dummies Questions & Answers
Dear Expert,
Is there a command to do that in Unix?
In such a way that we don't need to actually "write" or
modified the content.
-- monkfan (4 Replies)
Discussion started by: monkfan
4 Replies
4. Shell Programming and Scripting
Hi All,
I need to get file creation date.
I have to access one file who's name is like...
abc.log092308
and the date changes as per current date. And i am accessing this file next day. meance in above case i will access above file on 09-24-2008
Also one problem is that this file... (2 Replies)
Discussion started by: Jeevan Salunke
2 Replies
5. Shell Programming and Scripting
Hi,
I just need to know way of getting date of file when it was created.
eg i have a file abc created on 23 aug. Now i need to know date of file i.e. 23 aug. How can i get that data.
Thanks
Sarbjit (7 Replies)
Discussion started by: sarbjit
7 Replies
6. Shell Programming and Scripting
Hi,
Can anyone tell me a process to find the creation date of a file in a directory.
If suppose I have a file in a directory created in 2009
-rw-r--r-- 1 xyz guest 2480 Jul 16 2009 sample.txt
The command should return the the file creation date as 16/07/2009
thanks, (2 Replies)
Discussion started by: swathich
2 Replies
7. Emergency UNIX and Linux Support
Hi Experts,
I am trying to add one variable value as the first value in a file speparated by "" (space) delimiter. Can you please let me know how I can do this using bash script.
Following is my file.
1635 ABCD 3m9ka COMPLETE
0526 AJAY 3m1da COMPLETE
0419 INDIA 3m3zi INCOMPLETE
The... (3 Replies)
Discussion started by: ajaypatil_am
3 Replies
8. Shell Programming and Scripting
Hi
I have file with number status and date1 and date1 field,
want add a column today between column date1 and date2.
file1.txt
number status date1 date2
===== ==== === =====
34567 open 27/06/13 28/06/13
45678 open 27/06/13 28/06/13
43567 open 27/06/13 28/06/13 ... (1 Reply)
Discussion started by: vijay_rajni
1 Replies
9. UNIX for Dummies Questions & Answers
Dear Masters,
I am using solaris 10. There is a requirement if a file created on Feb 1 or Feb 2, the creation date will be changed to Jan 31. Is there any command on Solaris to do that?
Thanks,
Kris (1 Reply)
Discussion started by: kris.adrianto
1 Replies
10. Shell Programming and Scripting
Hi Team,
How to get the file creation date and time in SFTP server
we can able to type ls -ltr command only SFTP server.
Generally we type ls --full-time test.txt we will get the date and time , same way how to do in SFTP server after connected.
Thanks (1 Reply)
Discussion started by: bmk123
1 Replies
STICKY(8) BSD System Manager's Manual STICKY(8)
NAME
sticky -- sticky text and append-only directories
DESCRIPTION
A special file mode, called the sticky bit (mode S_ISVTX), is used to indicate special treatment for shareable executable files and directo-
ries. See chmod(2) or the file /usr/include/sys/stat.h for an explanation of file modes.
STICKY TEXT EXECUTABLE FILES
The sticky bit has no effect on executable files. All optimization on whether text images remain resident in memory is handled by the ker-
nel's virtual memory system.
STICKY DIRECTORIES
A directory whose `sticky bit' is set becomes an append-only directory, or, more accurately, a directory in which the deletion of files is
restricted. A file in a sticky directory may only be removed or renamed by a user if the user has write permission for the directory and the
user is the owner of the file, the owner of the directory, or the super-user. This feature is usefully applied to directories such as /tmp
which must be publicly writable but should deny users the license to arbitrarily delete or rename each others' files.
Any user may create a sticky directory. See chmod(1) for details about modifying file modes.
BUGS
Neither open(2) nor mkdir(2) will create a file with the sticky bit set.
HISTORY
A sticky command appeared in Version 32V AT&T UNIX.
4th Berkeley Distribution June 5, 1993 4th Berkeley Distribution