Timedir
is a replacement for the TCC/CMD
DIR command. It has many of the features of TCC's DIR,
and some enhancements beyond that.
Timedir
sorts all given files together, so specifying dir folder1 folder2
in TCC will first display folder1 then folder2, whereas
timedir folder1 folder2
will show all the files grouped together.
TimeDir rev 6.40 Modified Mon Mar 7 16:32:20 2011 Compiled Mar 7 2011 16:32:45 timedir.7z sha512:D3CC16D788555961F60725B80C553B6D70ED48807DF32D0D0B1D762E6EBA094F66181266406A376187623F9DA8323F32288618FD2AF3CE774D88AB1500D81E21 sha384:1682E1ABA2ADF81DDEDEFC0134F544DA137A1021FA8882F7E9900ABBFDE755E40A17BD559399CDFBF6EEA4607D4E4F1E sha256:094ED7CD6969C797663BE4EF513813211A2C598C4F0C04D40E43F250892EB3BE sha224:A9E0CDA20EFED1FF74EE0D9E7EB9FFDB3AE304E6DA1C83C66842F7B8 sha1:CD0FD0CEC5D7ED2A157A5F6A936D798FBAE61260 md5:130891BB8E4F5F66A3398D419545932C crc32:A4D9062B timedir.zip sha512:0BE458F6A465E97448A3ED0BF8598C8914688B306F25639B70B01989CA82281859B210A5FF5D233FAFFFA209A37A2FA2D172879AD6FBC35EF2072A70E5B9B765 sha384:0D1220A78AD35091865B417D9F2952ECF5439B2C120F0B737AA4A47F3D0567A98A9FC46E6D2A2F761E7082BC6AB1ED2F sha256:1602CFD3E0F3645EA09D460EC0907F4FB4B943166A958F88D5406DAD7C4E597A sha224:FB225F4397BE1B7A0E9F3E27B8B703D820D4E8D9CDEAE0B692E0E964 sha1:E4DD122094B1FAD00049BD746FB3BC23BC8FDFD4 md5:D382279E6BFC3C557AB3E04662AB34F1 crc32:B4AC4BE0 Beginning: 6.40 When quotes are mismatched, assume a trailing quote. Fix a bug that would not display information if the date or time separater was empty or longer than one character. /NB Do not display an error message if /B: is not a path. /T:format Controls the format and which time fields are displayed. If an error occurs converting to local time, the time displayed will have an upper case letter (C, A or W) to indicate the error. format W Last Written (default) A Last Access C Creation Y Dates are YMD M Minute accuracy (default) S Second accuracy F Fractional accuracy R Raw accuracy 100ns 0=1601-01-01 X Raw accuracy, hex U Times are in UTC N Displays the current time D Times are delta days L Times are in local time L- Poorly convert local times O Displays short day of week O- Displays shortest day of week O+ Displays full day of week O# Displays day of week 0=Sunday D:Y Times are days from year = Retain access time during CRC D:C Times are delta days I:O ISO8601 ordinal YYYY-DDD I:W ISO8601 week YYYY-Www-d I:C ISO8601 calendar YYYY-MM-DD I:T ISO8601 time HH:MM:SS For ISO date formats, append - to use - separator, e.g. /T:I:W- Beginning: 6.39 Fix a bug with /F and /OU where the date separator was being displayed Beginning: 6.37 Added /= to show the most recently updated file size and time information. Normally, Windows will delay file size and time updates if the file is open. This will force Windows to update the information. Directory listings using /= will possibly be much slower. Beginning: 6.36 Added ISO8601 ordinal and week formats. /T:format Controls the format and which time fields are displayed. If an error occurs converting to local time, the time displayed will have an upper case letter (C, A or W) to indicate the error. format W Last Written (default) A Last Access C Creation Y Dates are YMD M Minute accuracy (default) S Second accuracy F Fractional accuracy R Raw accuracy 100ns 0=1601-01-01 X Raw accuracy, hex U Times are in UTC N Displays the current time D Times are delta days L Times are in local time L- Poorly convert local times O Displays short day of week O- Displays shortest day of week O+ Displays full day of week O# Displays day of week 0=Sunday D:Y Times are days from year = Retain access time during CRC D:C Times are delta days I:O ISO8601 ordinal YYYY-DDD I:W ISO8601 week YYYY-Www-d For ISO date formats, append - to use - separator, e.g. /T:I:W- Beginning: 6.35 /V:[type] Display version information. Omit type to specify default /V:V. Use :CustomType: instead of a letter for other strings. C Comments I InternalName N ProductName M CompanyName L LegalCopyright P ProductVersion D FileDescription T LegalTrademarks U PrivateBuild V FileVersion F OriginalFilename S SpecialBuild B Build * All of the above Beginning: 6.34 Added /PathExt and /PathExt: /PathExt Search for files matching PATHEXT environment variable /PathExt:l Search for files in l where l is PATHEXT format, e.g. .COM;.EXE;.BAT Beginning: 6.33 Fixed help for /A: /A: Displays files with specified attributes. By default Hidden and System files are not displayed. attributes R Read-only files H Hidden files S System files A Files ready for archiving D Directories E Encrypted files N Normal files T Temporary files L Junction (reparse point) P Sparse files C Compressed files O Offline files I Non-indexed files V Devices U Virtual files - Prefix meaning none of + Prefix meaning one or more of -- Sticky - prefix ++ Sticky + prefix Beginning: 6.32 Fix a handle leak that occurs for each directory junction that Windows fails while trying to resolve the junction target. Beginning: 6.31 />n Limit output to n lines />:file Redirect output to file. Prepend > to file to append. Beginning: 6.30 Renamed /A:J to /A:L. To keep things consistent, also renamed /O:J /T:+J. Fixed a bug with /O:L. Changed /T to be consistent with TCC. Beginning: 6.29 Added sticky attribute selection. /A: Displays files with specified attributes. By default Hidden and System files are not displayed. attributes R Read-only files H Hidden files S System files A Files ready for archiving D Directories E Encrypted files N Normal files T Temporary files J Junction (reparse point) P Sparse files C Compressed files O Offline files I Non-indexed files V Devices L Virtual files - Prefix meaning none of + Prefix meaning one or more of -- Sticky - prefix ++ Sticky + prefix Beginning: 6.27 Added /[D] as a synonym for /[D-0]. Added /[Dn] where n is in /T:R format. Beginning: 6.26 Fixed a bug on Windows NT 4.0 that prohibited startup due to a missing time conversion routine in Windows. Beginning: 6.25 Add time range support to the date ranges. Append @h[:m[:s]] to specify times. Beginning: 6.24 Added specific scale factors to /S:abbvtype. /S:abbvtype Display abbreviated file sizes. Upper case abbreviations (/S:A /S:.A /S:SA /S:EA) use base 2. Lower case abbreviations (/S:a /S:.a /S:sa /S:ea) use base 10. /S:.A shows .n where n = 0 or 1-7 for K to Y. /S:SA (scientific) uses powers of the base. /S:EA (engineering) uses powers of the base that are multiples of 10 (base 2) or 3 (base 10). /S:kmgtpezy or /S:KMGTPEZY display in those units. Prefix unit with F, R, or C to use the floor, rounded value, or ceiling when dividing. /S:I uses IE abbreviations. /S:b is 256 byte blocks. /S:B is 512 byte blocks. /S:W is words. /S:Dx is divide by x. /S:F displays full size. Add .n after the abbreviation type to set the places. Add :n after the places and abbreviation type to set the width. Beginning: 6.23 Fixed a bug in /DP and /s /fg /w= Beginning: 6.22 When /.:file is given and the file does not exist, this is no longer treated as a fatal error. Use /! /.:file to see the error message. Beginning: 6.21 TCC Directory aliases are now supported. TCC Version 11 shared aliases are supported using /.: without a filename. /.:[file] Process directory aliases. If no file is given, uses SharememUAlias%USERID% shared memory. If file is - uses stdin. Use alias:=replacement or alias:replacement. /.:?alias Define one directory alias alias:=replacement Beginning: 6.14 Fix /F to imply /. Beginning: 6.13 /Z[:length] Filenames longer than length are truncated and indicated with a right arrow. /Z Implies /(12F SD +) Beginning: 6.12 /T+attr Displays custom order extended attributes. See /A: for legal letters for attr. In addition, space, X, and U are legal. Beginning: 6.11 Fix a bug with /J/N/S:SA that would add too many spaces before the filename Beginning: 6.10 Rename /K: to /G and /K:cluster to /G:cluster and /K:?cluster to /G:?cluster to be more compatible with TCC. Beginning: 6.09 Fixed a bug with /S :Ccolor Beginning: 6.08 Improved performance of /: Fixed a bug with /: /U Beginning: 6.07 /F Display each filename with its drive letter and path in a single column, without other information. /F: Affect the path displayed for filenames. Append - after the max length to compress on the left of the path. displaytype F Full path G As given on the command line Fn Full path max len Gn Given path max len F* Full path vis screen col G* Given path vis screen col F** Full path all screen col G** Given path all screen col L Last path component Ln Last n path components Ln- First n path components N No path Beginning: 6.06 Make /PathR show [source name] Beginning: 6.05 /Path Search the path and "HKLM\Software\Microsoft\Windows\CurrentVersion\App Paths" for the filenames. /PathR Search only "HKLM\Software\Microsoft\Windows\CurrentVersion\App Paths" for the filenames. /PathE Search only the path environment for the filenames. Shortcut for /B:"%PATH%" /P:filename1;filename2... Beginning: 6.04 /Path has been enhanced to search the registry in: HKLM\Software\Microsoft\Windows\CurrentVersion\App Paths /Path Search the path for the filenames. Shortcut for /B:"%PATH%" /P:filename1;filename2... and an App Paths registry search Beginning: 6.02 Fix the error message when "timedir DoesNotExist\" is specified Beginning: 6.01 Add hexadecimal sorting /O:order List by files in sorted order. The default is /O:GNEP. Sort fields must also be enabled with the corresponding switch. order - Prefix to reverse next R Reverse all following C Compressed size G Group directories first N By filename (alphabetic) O By owner P By path displayed S By size (smallest first) U Unsorted E By extension D By first time printed TA By access time TC By created time TW By write time MC By CRC-32 checksum MM By MD5 checksum MSHA1 By SHA1 checksum MSHA224 By SHA224 checksum MSHA256 By SHA256 checksum MSHA384 By SHA384 checksum MSHA512 By SHA512 checksum B By attributes @ By links V By version W By width of file path + name H By hex filename I Unique ID + By file description J Junction target A ASCII for /O:PNE # Numeric for /O:PNE ## Only numbers for /O:PNE X Hex for /O:PNE XX Only hex for /O:PNE _ By number of fragments L Color coding \ By folder+file count Beginning: 6.00 Allow /R with filename patterns Beginning: 5.99 Add /S:SA.n where n is the places /S:abbvtype Display abbreviated file sizes. Upper case abbreviations (/S:A /S:.A /S:SA /S:EA) use base 2. Lower case abbreviations (/S:a /S:.a /S:sa /S:ea) use base 10. /S:.A shows .n where n = 0 or 1-7 for K to Y. /S:SA (scientific) uses powers of the base. /S:EA (engineering) uses powers of the base that are multiples of 10 (base 2) or 3 (base 10). /S:I uses IE abbreviations. /S:b is 256 byte blocks. /S:B is 512 byte blocks. /S:W is words. /S:Dx is divide by x. /S:F displays full size. Add .n after the abbreviation type to set the places. Add :n after the places and abbreviation type to set the width. Beginning: 5.98 Add /O:## to sort based only on the numbers. Beginning: 5.96 Fix a problem with /O:E when the extensions were different lengths. Beginning: 5.95 Expand the /K:A information Beginning: 5.94 /\:# Display the count of files+folders inside a folder. Forces /S /\:S Display the size of files+folders instead of < DIR >. Forces /S Beginning: 5.93 Fixed a bug with /&:@ that may not ignore folders that aren't linked. Beginning: 5.92 Numeric sort now applies to the path, description, and junction target. Beginning: 5.91 Added /S:W and /S:Dx /S:abbvtype Display abbreviated file sizes. Upper case abbreviations (/S:A /S:.A /S:SA /S:EA) use base 2. Lower case abbreviations (/S:a /S:.a /S:sa /S:ea) use base 10. /S:.A shows .n where n = 0 or 1-7 for K to Y. /S:SA (scientific) uses powers of the base. /S:EA (engineering) uses powers of the base that are multiples of 10 (base 2) or 3 (base 10). /S:I uses IE abbreviations. /S:b is 256 byte blocks. /S:B is 512 byte blocks. /S:W is words. /S:Dx is divide by x. /S:F displays full size. Add :n after the abbreviation type to set the width. Beginning: 5.90 Added Virtual attribute support /A: Displays files with specified attributes. By default Hidden and System files are not displayed. attributes R Read-only files H Hidden files S System files A Files ready for archiving D Directories E Encrypted files N Normal files T Temporary files J Junction (reparse point) P Sparse files C Compressed files O Offline files I Non-indexed files V Devices L Virtual files - Prefix meaning none of + Prefix meaning one or more of /T+[XU] Displays extended attributes RHSADENTJPCOIVL (See /A:) X Also display attributes in hex U Also display attributes in hex if unknown Beginning: 5.89 Fix /A:J with /(E) Beginning: 5.87 Fix some help and error messages Beginning: 5.86 Modify /N:\... with /\:# to make it more useful Beginning: 5.85 Fix a bug in the /\:# display that caused some directory counts to be much too large. Beginning: 5.84 /O:order List by files in sorted order. The default is /O:GNEP. Sort fields must also be enabled with the corresponding switch. order - Prefix to reverse next R Reverse all following C Compressed size G Group directories first N By filename (alphabetic) O By owner P By path displayed S By size (smallest first) U Unsorted E By extension D By first time printed TA By access time TC By created time TW By write time MC By CRC-32 checksum MM By MD5 checksum MSHA1 By SHA1 checksum MSHA224 By SHA224 checksum MSHA256 By SHA256 checksum MSHA384 By SHA384 checksum MSHA512 By SHA512 checksum B By attributes @ By links V By version W By width of file path + name H By hex filename I Unique ID + By file description J Junction target A ASCII for /O:NE # Numeric for /O:NE _ By number of fragments L Color coding \ By folder count Beginning: 5.83 /[\range] Only list folders with the folder count in the range specified. One of /[\?range] must match. All /[\range] must match. /\:# Display the count of files+folders inside a folder. Beginning: 5.82 Added /S:B and /S:b /S:abbvtype Display abbreviated file sizes. Upper case abbreviations use base 2 (/S:A /S:.A /S:SA /S:EA). Lower case abbreviations use base 10 (/S:a /S:.a /S:sa /S:ea). Suffixes in order are KMGTPEZY and kmgtpezy. /S:.A use .n where n = 0 or 1-7 for K to Y. /S:SA uses powers of the base. /S:EA uses powers of the base that are multiples of 10 (base 2) or 3 (base 10). /S:b is 256 byte blocks. /S:B is 512 byte blocks. /S:F displays full size. /S:I uses IE abbreviations. Add n after the abbreviation type to set the width. Beginning: 5.81 Fixed an issue with case during /S Beginning: 5.80 Split customized help for /-J:n and /-J:+n Beginning: 5.79 /NP:pattern Do not list any path\file that matches the pattern. ::pattern forces grep mode. Beginning: 5.78 Fixed a bug with ::^foo. Fixed a bug that crashed if some badly formed ::regex were given. Beginning: 5.77 Fix /N with filenames that contain ASCII > 127 and a case sorting bug that was introduced in 5.75 Beginning: 5.75 Reduce memory requirements when doing numeric sort. Remove /O:#n since it is no longer necessary. Beginning: 5.74 Fixed a bug: when COLORDIR contained trailing spaces, the color could be mistakenly applied to files without an extension. Beginning: 5.73 Colors now can contain attribute definitions Beginning: 5.72 Colors are searched in the order specified so a default "*" can be given last. Beginning: 5.71 Added /E:number /E:type Sets errorlevel based on the type. Upper case /E:B and /E:BC use base 2. Lower case /E:b and /E:bc use base 10. Prefixes in order are KMGTPEZY and kmgtpezy. (e.g. /E:KB). Give a number for type to use that errorlevel. E Default errorlevel D Number of dirs shown F Number of files shown N Number of dirs+files shown B Bytes shown BC Compressed bytes shown FC Compressed files shown SC Bytes saved by compressing V Version of TIMEDIR X.YYY P PID Beginning: 5.70 Added /S:+n to begin n subdirectories deep Beginning: 5.69 Fixed a bug when /s/ was given and there were subfolders. Beginning: 5.67 Ensure that custom format with /O:U is unsorted /ND Do not follow hidden directories during /S[:n] /NE Do not display an error message if no files match. /NF Do not display \"bytes free\" in the summary. /NH Do not display the header. /NJ Do not follow junctions during /S[:n] /NS Do not display the summary. /NV Do not display the volume information. Beginning: 5.66 /&:S shows files that have the same size as other files. Beginning: 5.64 Regular expressions may now use \d as a synonym for [0-9] and \D for [^0-9] Beginning: 5.63 /&:multiple Show files with multiple. multiple - Prefix to reverse @[n] Files linked n or more [2]. 3 CRC32 C CRC32 5 MD5 M MD5 N Filename root SHA1 SHA224 SHA256 SHA384 SHA512 Beginning: 5.62 /M is no longer required with /& or /=: Beginning: 5.60 /W with /??= shows the options on one line Beginning: 5.59 /=:pattern Display based on lines matching pattern. In [!][::]pattern, ! excludes the pattern, and :: forces grep mode. Beginning: 5.58 /&:multiple Show files with multiple. Sets /M. multiple - Prefix to reverse @[n] Files linked n or more [2]. 3 CRC32 C CRC32 5 MD5 M MD5 SHA1 SHA224 SHA256 SHA384 SHA512 Beginning: 5.56 Using .. goes up one level, ... is two, .... is three, etc. Beginning: 5.55 /E:type Sets errorlevel based on the type. Upper case /E:B and /E:BC use base 2. Lower case /E:b and /E:bc use base 10. Prefixes in order are KMGTPEZY and kmgtpezy. (e.g. /E:KB) E Default errorlevel D Number of dirs shown F Number of files shown N Number of dirs+files shown B Bytes shown BC Compressed bytes shown FC Compressed files shown SC Bytes saved by compressing V Version of TIMEDIR X.YYY P PID Beginning: 5.54 /R:?color Specifies a default color instead of the current screen mode. Beginning: 5.51 Size ranges may now use either MB or M (etc.) as a suffix. Beginning: 5.50 /D- Clears the color coding table. /E:type Sets errorlevel based on the type. Upper case /E:B and /E:BC use base 2. Lower case /E:b and /E:bc use base 10. Prefixes in order are KMGTPEZY and kmgtpezy. (e.g. /E:KB) E Default errorlevel D Number of dirs shown F Number of files shown N Number of dirs+files shown B Bytes shown BC Compressed bytes shown FC Compressed files shown SC Bytes saved by compressing V Version of TIMEDIR X.YYY Beginning: 5.49 /Path Search the path for the filenames. Shortcut for /B:"%PATH%" /P:filename1;filename2... Beginning: 5.48 Added /-P for internal use. Made /B:/P: imply /K Beginning: 5.47 Enhanced /[Slo,hi] to allow +hi -hi and just /[Sexact]