github.com/10XDev/rclone@v1.52.3-0.20200626220027-16af9ab76b2a/docs/content/commands/rclone_touch.md (about) 1 --- 2 title: "rclone touch" 3 description: "Create new file or change file modification time." 4 slug: rclone_touch 5 url: /commands/rclone_touch/ 6 # autogenerated - DO NOT EDIT, instead edit the source code in cmd/touch/ and as part of making a release run "make commanddocs" 7 --- 8 # rclone touch 9 10 Create new file or change file modification time. 11 12 ## Synopsis 13 14 15 Set the modification time on object(s) as specified by remote:path to 16 have the current time. 17 18 If remote:path does not exist then a zero sized object will be created 19 unless the --no-create flag is provided. 20 21 If --timestamp is used then it will set the modification time to that 22 time instead of the current time. Times may be specified as one of: 23 24 - 'YYMMDD' - eg. 17.10.30 25 - 'YYYY-MM-DDTHH:MM:SS' - eg. 2006-01-02T15:04:05 26 27 Note that --timestamp is in UTC if you want local time then add the 28 --localtime flag. 29 30 31 ``` 32 rclone touch remote:path [flags] 33 ``` 34 35 ## Options 36 37 ``` 38 -h, --help help for touch 39 --localtime Use localtime for timestamp, not UTC. 40 -C, --no-create Do not create the file if it does not exist. 41 -t, --timestamp string Use specified time instead of the current time of day. 42 ``` 43 44 See the [global flags page](/flags/) for global options not listed here. 45 46 ## SEE ALSO 47 48 * [rclone](/commands/rclone/) - Show help for rclone commands, flags and backends. 49