JosiahMaybe
Platinum Coder
I made a better recorder function, same all else.
About same speed. Should I run as root or what? Bash is at 1/100th what I know this machine can do. X E.
Bash:
function writeXE() {
if cantUseXE $1; then
return;
fi
# Write lines in order what, created at, last modified, last accessed, last changed, permissions, owner, group, inode.
echo $1 >> $2;
file=($(stat -c "%w %y %x %z %a %U %G %i" $1));
echo "${file[0]} ${file[1]} ${file[2]}" >> $2;
echo "${file[3]} ${file[4]} ${file[5]}" >> $2;
echo "${file[6]} ${file[7]} ${file[8]}" >> $2;
echo "${file[9]} ${file[10]} ${file[11]}" >> $2;
echo "${file[12]}" >> $2;
echo "${file[13]}" >> $2;
echo "${file[14]}" >> $2;
echo "${file[15]}" >> $2;
echo "" >> $2;
#X E.
}
#X E.