U
Usunięty użytkownik pigers
Guest
Bash:
[~] # cat /share/MD0_DATA/.qpkg/autoruns/TrashPurge.sh
rm -rf /share/MD0_DATA/.qpkg/autoruns/smietniki
echo "Looking for existing @Recycle ..."
findutils-find /share/MD0_DATA/ -type d -name @Recycle | grep -v Network | grep -v homes | grep -v Zdj > smietniki
echo "Purging @Recycles if any ..."
for i in $(cat smietniki ) ; do rm -rf $i; done
echo "Done purging ..."
Bash:
[/share/MD0_DATA/.qpkg/autoruns] # tail -2 autoruns.sh
#add @Recycle remove
echo 'alias trash="/share/MD0_DATA/.qpkg/autoruns/TrashPurge.sh"' >> /etc/profile