Cynosure.X International LLC

: :

Add Comment | Related Links | TrackBack
Related Content

FileDate.sh (GPL)

FileDate.sh is a Bourne shell script that outputs the time stamp of a file in a sequential manner for storage and sorting. You can use the FileDate.sh output as legal file name.

It takes advantage of the Token.sh (GPL) Bourne shell script that is also available on this site. So to use FileDate.sh, you will need to download the Token.sh script if you don't already have it.

FileDate.sh is distributed as executable source code under the GNU General Public License. Please see the license agreement elsewhere on this site.

Usage

FileDate.sh "file 1" [ . . . "file n" ]

Examples

> ls -aogF --full-time cpanel3-skel.tar
-rw-r--r-- 1 10240 2006-12-07 06:50:48.000000000 +0000 cpanel3-skel.tar
> FileDate.sh cpanel3-skel.tar
20061207_065048

Attached File: FileDate.sh (476 B)

Chieh Cheng
Tue, 07 Aug 2007 20:19:25 +0000

Unfortunately, the "--full-time" flag is not available on Mac OS Darwin. So, the original version of "FileDate.sh" doesn't work on Mac OS. However, I have written a PHP version of "FileDate.sh" recently (also available on this web site). Hence, I have updated "FileDate.sh" to use "FileDate.php" when it's running on Mac OS. The new version is attached below.

Attached File: 1 - FileDate.sh (594 B)

Chieh Cheng
Tue, 21 Apr 2009 08:37:37 +0000

Add Comment | Related Links | TrackBack
Related Content

Did your message disappear? Read the Forums FAQ.

TrackBack

TrackBack only accepted from WebSite-X Suite web sites. Do not submit TrackBacks from other sites.

Send Ping | TrackBack URL | Spam Control

Title: FileDate.php (GPL)
Weblog: Cynosure.X International
Excerpt: "FileDate.php" is a PHP command-line script that outputs the time stamp of a file in a sequential manner for storage and sorting. You can use the "FileDate.php" output as legal file name. "FileDate.php" is distributed as executable source code under the GNU General Public License. Please see the . . .
Tracked: Tue, 21 Apr 2009 08:38:24 +0000

Add Comment

Spam Control | * indicates required field
Your Name: *
E-mail:
Remember Me!
Comment: *
File attachment is optional. Please do not attach a file to your submission unless it is relevent.
Attach File:
(20 MB Max)
Spam Protection: * Answer of 2 + 4?
Click button only once, please!

Messages, files, and images copyright by respective owners.

Products | Services
Forums | Latest | RSS
Library | Search | Wiki
Help | Licenses

Login | Register

42 Users Online

Hacking Digital Cameras
Fun for Photographers



Amazon Associate

Copyright © 1996 - 2024. All Rights Reserved.