#75 closed enhancement (fixed)
Consider adding directory support to TOUCH command
Reported by: | Lewis Rosenthal | Owned by: | Steven Levine |
---|---|---|---|
Priority: | minor | Milestone: | Version-3.10 |
Component: | Commands | Version: | 3.09 |
Keywords: | Cc: |
Description
Currently, TOUCH only allows setting timestamps on files, but not directories. This is an RFE to add support to TOUCH to change timestamps on directories, as well.
Example:
{0}[j:\] touch /dc04-17-09 /tc00:49:58 f:\1040 SYS0002: The system cannot find the file specified. "F:\1040"
where 1040
is indeed a directory under the root of F:
.
Change History (3)
comment:1 by , 2 years ago
Owner: | set to |
---|---|
Status: | new → assigned |
comment:2 by , 2 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Confirmed implemented and working as expected; thanks.
Tested against JFS and NetWare NSS (using NWIFS.IFS).
This command doesn't like trailing backslashes (SYS0002), however, but that's a minor nit.
comment:3 by , 2 years ago
DOS-ish apps never seem to handle trailing slashes sanely without outside help. It's on my list to look at. Feel free to submit an enhancement ticket.
Note:
See TracTickets
for help on using tickets.
This has been implemented as of
[d:\tmp]ver /r
4OS2 3.11.2-shl OS/2 Version is 4.50
Build 3.11.2-shl.168 (May 5 2022 16:52:30)
There will be a public release when Gregg returns.