- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: search for a lost directory (Its out there som...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2003 06:53 AM
тАО05-02-2003 06:53 AM
I have lost a directory which I know is called ~omyreally whats the best way to search for it?
Thanks for any help
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2003 07:01 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2003 07:04 AM
тАО05-02-2003 07:04 AM
Re: search for a lost directory (Its out there somewhere!!)
HTH
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2003 07:09 AM
тАО05-02-2003 07:09 AM
Re: search for a lost directory (Its out there somewhere!!)
As root:
find / -type d -name \*omyreally\* -print
Where -type d means look for directories by this name.
Also, be aware that sometimes terminal misconfigurations and cause control characters to be entered into file and directory names. Having ^H embedded in a file name can cause problems. In that case, using ls -lRb from a higher level directory will help (recursively list all files and directories, long format, with non-printing characters displayed as /nnn).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2003 07:18 AM
тАО05-02-2003 07:18 AM
Re: search for a lost directory (Its out there somewhere!!)
ls -i (* will list out unprintable file names *)
find /dir -inum ### -exec ll {} \;
- Tags:
- unprintable chars
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2003 07:31 AM
тАО05-02-2003 07:31 AM
Re: search for a lost directory (Its out there somewhere!!)
./tmp
./.dt/tmp
a5:/u/usr/merijn 102 >
For you that could be
# perl -MFile::Find -MText::Soundex -le'$x=soundex shift;find(sub{-d||return;$x eq soundex$_ and print$File::Find::name},"/")' omyreally
Enjoy, have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2003 07:43 AM
тАО05-02-2003 07:43 AM
Re: search for a lost directory (Its out there somewhere!!)
im dishing the points out now!
Happy Bob The Spod