Solved Write zfs send -n to file

Dont know og this is the right forum but i am trying to pipe the list generated from zfs send -vRn dataset@snapshot > file but my file ends up as empty. Any ideas?
 
The output goes to stderr because the stream data would go to stdout. Use zfs send -vRn dataset@snapshot 2> file (with bash, zsh, sh).
 
Back
Top