Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F56267624
locate-home
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
813 B
Referenced Files
None
Subscribers
None
locate-home
View Options
#!/bin/sh
# -------------------------------------------------------------
# Run updatedb for $HOME directory
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# License: Trivial work, not eligible to copyright
# Source file: roles/devserver/userland-home/files/dereckson/bin/locate-home
# -------------------------------------------------------------
#
# <auto-generated>
# This file is managed by our rOPS SaltStack repository.
#
# Changes to this file may cause incorrect behavior
# and will be lost if the state is redeployed.
# </auto-generated>
export
FCODES
=
"
$HOME
/.cache/locatedb"
if
[
!
-f
"
$FCODES
"
]
;
then
echo
"Database doesn't exist. Run update-db home first."
>
&
2
exit
1
fi
locate
-d
"
$FCODES
"
"
$@
"
File Metadata
Details
Attached
Mime Type
text/x-shellscript
Expires
Fri, Nov 6, 10:28 (1 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4185405
Default Alt Text
locate-home (813 B)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment