août 2012

Envoyer des emails avec piece jointe en ligne de commande sous Linux

Envoi d’un email + pièce jointeecho "Ci-joint la photo de ma voiture" | mutt -s "Ma voiture" -a voiture.jpg — toto@toto.comLa même chose sans texte d’explication :echo | mutt -s "Ma voiture" -a voiture.jpg — toto@toto.comoumutt -s "Ma voiture" -a voiture.jpg — toto@toto.com < /dev/nullEnvoi d’un email avec plusieurs pièces jointes :echo | mutt -s …

Envoyer des emails avec piece jointe en ligne de commande sous Linux Lire la suite »

Rsync, tar, cp, ssh

scp scp or secure copy is probably the easiest of all the methods, its is designed as a replacement for rcp, which was a quick copy of cp with network funcationability. scp syntax scp [-Cr] /some/file [ more … ] host.name:/destination/file -or- scp [-Cr] [[user@]host1:]file1 [ more … ] [[user@]host2:]file2 Before scp does any copying …

Rsync, tar, cp, ssh Lire la suite »

Retour en haut