remove_timestamp.m
Version 1.0.0 (1.28 KB) by
Barry Cense
Matlab code to remove timestamps in Windows filenames.
Windows can add timestamps to filenames, but sometimes this happens without you knowing it, and you may not like it because your Matlab scripts do not work with files that have added filestamps. For instance, a filename named 'hello.txt' is suddenly called 'hello (2019_07_06 22_48_18 UTC).txt'. This code looks in a directory for files, checks if there is a timestamp and removes it. Works like a charm.
Cite As
Barry Cense (2024). remove_timestamp.m (https://www.mathworks.com/matlabcentral/fileexchange/118120-remove_timestamp-m), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2022b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0 |