fi
for path in $*; do
- mtime=$(stat -c '%Y' $path)
- uid=$(stat -c '%u' $path)
- gid=$(stat -c '%g' $path)
- username=$(stat -c '%U' $path)
- groupname=$(stat -c '%G' $path)
- mode=$(stat -c '%a' $path)
+ mtime=$(zpm stat -t '%y' $path)
+ uid=$(zpm stat -t '%u' $path)
+ gid=$(zpm stat -t '%g' $path)
+ username=$(zpm stat -t '%U' $path)
+ groupname=$(zpm stat -t '%G' $path)
+ mode=$(zpm stat -t '%a' $path)
# strip off leading slashes
rpath=$(echo "$path" | sed -e 's|^/*||')