Forum Discussion
Jun 01, 2015
Hi,
just had a similar issue and used the following syntax to look for and list:-
configured folders:
tmsh -q -c "list sys folder recursive one-line" | awk '{print $3}'
-
imported iFiles:
tmsh -q -c "list sys file ifile recursive one-line" | awk '{print $4}'
-
referenced iFiles:
tmsh -q -c "list ltm recursive one-line" | awk '/^ltm ifile/ {print $3}'
The options "recursive" and "one-line" are not available in all configuration contexts.
Thats why I used a "global" recursive listing in ltm context to check the referenced iFiles by applying a filter in awk. Thanks, Stephan