Toggle navigation
Home
Latest pastes
FAQ
Random
Register
Login
Bash snippet - Adjust inode mtime according to another inode.
SUBMITTED BY:
DanielK
DATE:
Aug. 13, 2016, 3:04 p.m.
FORMAT:
Bash
SIZE:
149 Bytes
Raw
Download
Tweet
HITS:
814
Go to comments
Report
function
mtimea
()
{
if
[
$#
-gt
1
]
;
then
touch
-r
"
${
1
}
"
"
${
2
}
"
else
echo
"
${
FUNCNAME
}
<source inode> <destination inode>"
fi
}
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus