Send same content to multiple files (help)

Discussion in 'Tomato Firmware' started by kthaddock, Mar 2, 2013.

  1. kthaddock

    kthaddock Network Guru Member

    I want to send same content to multiple files, how do I do that.
    Sending to one file is ok.
    Thank you
  2. jerrm

    jerrm Network Guru Member

    One of many options:
    for u in user1 user2 user3
    echo "dirlist_enable=yes
    write_enable=yes" >/tmp/etc/vsftpd.users/$u
  3. kthaddock

    kthaddock Network Guru Member

    Thank you working perfect. Using as a fix until vsftpd is fixed.

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice