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.
FileDate.sh "file 1" [ . . . "file n" ]
> ls -aogF --full-time cpanel3-skel.tar
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.
Did your message disappear? Read the Forums FAQ.
TrackBack only accepted from WebSite-X Suite web sites. Do not submit TrackBacks from other sites.
Title: FileDate.php (GPL)
Spam Control | * indicates required field
Messages, files, and images copyright by respective owners.
31 Users Online
Copyright © 1996 - 2021. All Rights Reserved.