#!/bin/bash
#
clear
#
source /usr/local/bin/cores
#
IFS=$(echo -en "\n\b")
#
export CB="${bbra}$(pwd)/"
export TC=${azu}
ti="Diretorio"
ts=4
#
for tp in "l,d,b,c" "f"; do
    msg "${bcia}Mostrando as Permissões do ${bbra}'${TC}${ti}${bbra}'${cfim}"
    find -L * -maxdepth 0 -type ${tp} -exec bash -c 'file="{}"; \
    echo -e "${CB}${file} --> ${TC}chmod=$(stat -c %a "${file}")${cfim}"' \;
    sleep ${ts};TC=${bama};ti="Arquivo";ts=0
done
#
unset CB
unset TC
#
