Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Is there software that does the same as Unix 'touch'?

30 Jun 2013   #1
tony22

Windows 7 Ultimate x64 SP1
 
 
Is there software that does the same as Unix 'touch'?

I need to do what I think is a somewhat complex thing. I have a drive with almost 1500 folders in it. Some of these folders are parents and do not have files directly under them, just child folders. The child folders all have files with various dates. I need a way to do a recursive check of all folders, and down at the child folders do a touch on that folder so that it takes the timestamp of the oldest file in that folder. Then when it recurses up to the parent, if there are only child folders there the parent folder should get a touch to take the timestamp of the oldest folder in that subdirectory etc.

I think I can do this in Unix (it's been years since I've done anything like that but I think it's possible). The question is whether there's a way to do this in Win7?


My System SpecsSystem Spec
01 Jul 2013   #2
MilesAhead

Windows 7 32 bit
 
 

I would put a request here

Please read the rules/guidelines before posting. If someone there knows of a freeware already existing that does it, they will post. Otherwise if one of the coders thinks it can be hammered out in a reasonable time, they may volunteer to write the program for you.
My System SpecsSystem Spec
02 Jul 2013   #3
MilesAhead

Windows 7 32 bit
 
 

Note that in addition to the approach above, there are Win32 ports of most Linux commands. You may be able to run bash shell and do what you want using a combination of 'find' and 'touch'. This site is one example.
My System SpecsSystem Spec
Reply

 Is there software that does the same as Unix 'touch'?




Thread Tools



Similar help and support threads for2: Is there software that does the same as Unix 'touch'?
Thread Forum
Solved How to install UNIX with Win 7? Software
Solved Please recommend a Windows 7 touch compatible photo viewing software Music, Pictures & Video
DOS and UNIX on Windows7 Installation & Setup
Specific Multi-touch/touch games for Windows 7 Gaming
Touchpad Driver that Unlocks Multi-Touch on older Touch Drivers
Unix at 40 Chillout Room

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 10:08 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App