Change date modified
- Dominant language
- Perl
- Stars
- 3.9k
- Forks
- 213
- Avg merge
- 1m
- Merged PRs (30d)
- 1
Description
I’m attempting to change a date modified on a file using a-shell on iOS. I’m using the command
touch -m “ccyymmddhh.ss” ~/Documents/filename.txt
Minus the quotes. it returns with no response and file not changed. It seems I’m not doing something right, or I can’t figure out the correct directory. Does anyone have an idea as to what path to use?
if I move the document and adjust the path accordingly just to iCloud Drive I get this:
touch: /private/var/mobile/Containers/Data/Application/1F9829C5-38B3-45B0-95B4-91AC30A
306F6/IMG_2433.JPG: Operation not permitted
I’ve tried copying that pathway and plugging in /Documents/filename.txt and it returns with this:
touch: /private/var/mobile/Containers/Data/Application/1F9829C5-38B3-45B0-95B4-91AC30/
Documents/IMG_2433.JPG: No such file or directory
What am I not getting?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.