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
-
@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
-