mirror of https://github.com/trapexit/mergerfs.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
229 B
17 lines
229 B
#!/usr/bin/env python3
|
|
|
|
import os
|
|
import sys
|
|
import tempfile
|
|
|
|
atime = 1234
|
|
mtime = 1234
|
|
(fd,filepath) = tempfile.mkstemp(dir=sys.argv[1])
|
|
|
|
os.utime(fd,(atime,mtime))
|
|
|
|
os.unlink(filepath)
|
|
|
|
os.utime(fd,(atime,mtime))
|
|
|
|
os.close(fd)
|