To save into variable the certain find result
by BudiKusasi from LinuxQuestions.org on (#5B2WG)
How do we save into variable the certain find result, in e.g,
________________________________|
Code:find ~+ \( -maxdepth 1 -type d -exec find '{}' -size 9 print \) -o type f printf "%p\n" -o ...
________________________________ ^__
the pointer tells to the point in which only a variable should get the value / string which is only one since in one (the current) dir. only one unique name of any type is allowed, and ignore the other of many find results
Any useful help is gratified


________________________________|
Code:find ~+ \( -maxdepth 1 -type d -exec find '{}' -size 9 print \) -o type f printf "%p\n" -o ...
________________________________ ^__
the pointer tells to the point in which only a variable should get the value / string which is only one since in one (the current) dir. only one unique name of any type is allowed, and ignore the other of many find results
Any useful help is gratified