FILE=a.txt
FILE_SIZE = `stat -c %s $FILE`
if [ $FILESIZE >= 1000 ]; then
cp $FILE /tmp/
# How to empty file ?
then
Je suis en train d'obtenir la taille du fichier et si la taille est sur ces fichiers et limité cp et vider le même fichierComment trouver la taille du fichier
Comment Acheive cela?