Forum Stats

  • 3,733,073 Users
  • 2,246,690 Discussions
  • 7,856,502 Comments

Discussions

JAVA - how to find a directory based on owner/user_name/functional_id and search keyword and need to

3216699
3216699 Member Posts: 1
edited April 2016 in New To Java

Hi,

I am very very new to Java and currently i am learning, could anyone guide me how to find a directory/folder based on owner id/username/user id/functional id and a search keyword string and need the first occurring directory name.

like in unix/linux command

find . -name "keyword" -type d -maxdepth 1 -user $(whoami) -print | xargs ls -ltrdah | awk -F '/' '{print $NF}'


I searched several discussions and i am unable to get almost match-able code snippet.

Thanks,

Regards

moniquevdb-Oraclesnaugle-OracleMelody S-Oracle

Answers

This discussion has been closed.