#!/bin/bash

DIR=$HOME/Desktop

for f in $(ls $DIR)
do
    gvfs-set-attribute -t string $DIR/$f "metadata::trusted" yes
done

if [ -f $HOME/.config/autostart/set_trusted.desktop ]; then
    rm $HOME/.config/autostart/set_trusted.desktop
fi

