• [^] # Re: You can't

    Posté par . En réponse au message tar + split + output. Évalué à 2. Dernière modification le 13 juillet 2015 à 17:35.

    Try something like :

    mkfifo /tmp/pipe1; $TAR -cvf /tmp/pipe1 $SOURCEDIR $EXCLUDEDIR 1>/usr/backup/backuped_files.lst
    & split --bytes=1999m /tmp/pipe1 $BACKUP_DEVICE

    (don't forget to remove /tmp/pipe1 in your script).