HOSTS EXPORT



  • Hi,

    we use FOG on different country with one server by country. Sometimes we need to move pc between different site but we don’t use the same for all country and we make host export to csv and we change hostname and after upload hosts list to other server. I want to knwo if it’s possible to make export with only a part of host and not all.

    In advance thanks for your help.

    Jérôme



  • @Sebastian-Roth Thanks for you answer, i’ll try next time.

    Sincerely.

    Jérôme


  • Developer

    @jrm We only implemented a full export of the hosts in FOG right now.

    It’s fairly easy to extract a single row from the full CSV file:
    Linux:

    grep -e "host1\|host2\|host3" export.csv > host123.csv
    

    Windows:

    findstr "host1" export.csv > host123.csv
    findstr "host2" export.csv >> host123.csv
    findstr "host3" export.csv >> host123.csv
    

 

585
Online

5.4k
Users

12.6k
Topics

118.8k
Posts