10-21-2009
Find unix path to a file?
I know this is very newbie ... but I need help determining the proper file path to file...Have no idea how to do this
I'm on a Mac OS X 10.6 Snow Leopard
thanks very much
10 More Discussions You Might Find Interesting
1. HP-UX
Dear all
We are currently working on to install some ERP system in wjhich we
need to FTP from unix to windows 2000 machine
We run ./lodrun to get files from d/xxxxx/xxxx directory but the ftpoutput.log file shows following error
FTP: xxxxxxxxx system cannot find the path specified... (1 Reply)
Discussion started by: minix
1 Replies
2. Shell Programming and Scripting
Hello All,
I am somehow stumped with this ting.
'Find' will sure show me.. but I want only thepath of all the occurences of the file in any of the sub-dirs..
Any help will be sincerely appreciated.
thanx! (3 Replies)
Discussion started by: pranavagarwal
3 Replies
3. Shell Programming and Scripting
Hi all,
Is there any way to find the the path of a file?
I mean executable files and just anyother file we can think of?
i know of one cmd called which
$which mount
/usr/bin/mount
this is fine, but "mount" is a cmd not a file that can be searched
eg: say i have created a text file... (3 Replies)
Discussion started by: wrapster
3 Replies
4. UNIX for Advanced & Expert Users
hi experts(novice people can stay away as it is no child's game),
i am developing a script which works like recycle bin of windows.
the problem i am facing is that when ever i am trying to delete a file which is situated in parent directory or parent's parent directory i am unable to capture... (1 Reply)
Discussion started by: yahoo!
1 Replies
5. UNIX for Dummies Questions & Answers
hi experts(novice people can stay away as it is no child's game),
i am developing a script which works like recycle bin of windows.
the problem i am facing is that when ever i am trying to delete a file which is situated in parent directory or parent's parent directory i am unable to capture... (5 Replies)
Discussion started by: yahoo!
5 Replies
6. Shell Programming and Scripting
Hi,
A variable value is /home/samir/datas/data.txt
I want /home/samir/datas.
How can I get that. (11 Replies)
Discussion started by: samir_standing
11 Replies
7. UNIX for Dummies Questions & Answers
using OS X and the Terminal, I'd like to find all locked files in a specified directory, unlock them, and print a list of those files that were unlocked
how can I do this?
I'm familiar with chflags nouchg for unlocking one file but not familiar with unix enough to do what I'd like.
Thanks! (0 Replies)
Discussion started by: alternapop
0 Replies
8. UNIX for Dummies Questions & Answers
I need to know whether nyfile/mypath exists on the file system in the root directory.
How to do this (1 Reply)
Discussion started by: ramky79
1 Replies
9. Shell Programming and Scripting
Hi Firends,
Good Morning to all,
I want a find command to search a paticular file present in my system(ie search through under all users and all directories.)
I am looking forward from you.:)
Advance Thanks,
Siva Ranganath CH (3 Replies)
Discussion started by: sivaranga001
3 Replies
10. Shell Programming and Scripting
Hi All,
How can i find and replace the one path to another path with in the file.
For Example:
Search_path=/search/path
replace_path=/replace/path
I used the following command but not usefull, please help me regarding the same.
sed 's_/search/path_/replace/path_' file_name >... (6 Replies)
Discussion started by: nsyed.dw
6 Replies
BRCTL(1) BSD General Commands Manual BRCTL(1)
NAME
brctl -- Manage the CloudDocs daemon
SYNOPSIS
brctl <command> [command-options and arguments]
DESCRIPTION
brctl understands the following commands:
diagnose [options] [<diagnosis-output-path>]
diagnose and collect logs
-M,--collect-mobile-documents[=<container>] (default: all containers)
-s,--sysdiagnose Do not collect what's already part of sysdiagnose
-n,--name=<name> Change the device name
[<diagnosis-output-path>]
Specifies the output path of the diagnosis; -n becomes useless.
download <path>
download a local copy of the document at this path
evict <path>
evict the local copy of the document at this path
log [options] [<command>]
-c,--color[={yes,no}]
turn on or off color use
-d,--path=<logs-dir> use <logs-dir> instead of default
-H,--home=<home-dir> use this as the ~ prefix, to look for ~/L/
-f,--filter=<predicate>
only show lines matching predicate
-m,--multiline[={yes,no}]
turn on or off multiple line logging
-n=<number> number of initial lines to display
-p,--page use paging
-w,--wait wait for new logs continuously (syslog -w)
-t,--shorten Shorten UUIDs, paths, etc
-s,--digest Only print digest logs
dump [options] [<container>]
dump the CloudDocs database
-o,--output=<file-path>
redirect output to <file-path>
-d,--database-path=<db-path>
Use the database at <db-path>
[<container>] the container to be dumped
monitor [options] <container>
use NSMetadataQuery to monitor the container
-S,--scope=<scope>
restrict the NSMDQ scope to DOCS, DATA, or BOTH
versions [options] <path> [ALL|etags...]
list the non-local versions of the document at this path.
-a,--all List all non-local versions including those that
are locally cached
SEE ALSO
bird(8)
Mac OS May 31, 2019 Mac OS