Recentily i receive virus ninda and my network was files *.eml.
I find all *.eml with:
find / -name *.eml -print > virus
Virus has the path and name of the file,so, How can i delete all *.eml?
Thanks (2 Replies)
I have a list which contains all the jar files shipped with the product I am involved with. Now, in this list I have some jar files which appear again and again. But these jar files are present in different folders.
My input file looks like this
/path/1/to a.jar
/path/2/to a.jar
/path/1/to... (10 Replies)
In emacs elisp, there is a handy function called file-name-nondirectory which accepts a path and file name and returns just a file name and extension. There is also a function called file-name-directory which just returns the dire ctory name without the file.
How can I implement these same... (2 Replies)
hi i wrote following script,
#!/usr/bin/sh
for index in `ls /tmp/common/*.txt`
do
echo "$index"
done
here index is giving full path but in my program i want only file names (not along with whole path)
Eg. if in /tmp/common files are a.txt and b.txt den out should be a.txt b.txt
... (6 Replies)
I have the following list of file names stored in $fnames, so that if I do
foreach f ($fnames)
echo "$f"
end
I will get
n02-z30-sr65-rgdt0p50-dc0p002-16x12drw-run1
n02-z30-sr65-rgdt0p50-dc0p002-16x12drw-run2
n02-z30-sr65-rgdt0p50-dc0p002-16x12drw-run3... (3 Replies)
Hi All,
I have some 50,000 HTML files in a directory. The problem is; some HTML files are duplicate versions that is wget crawled them two times and gave them file names by appending 1, 2, 3 etc after each crawl. For example, if the file index.html has been crawled several times, it has been... (1 Reply)
Hi Experts,
Here is my scenario:
Am maintaining a file which has list of logs with complete path and file names like bleow
a/b/c/Daily/file1_20111012.log
d/e/f/Monthly/file1_20111001.log
g/h/Daily/file1_20110120.log
i/Daily/file1_20110220.log
How to copy the file names frm the list... (7 Replies)
I'm trying to move a large folder to an external drive but some files have these weird chars that the external drive won't accept.
Does anyone know any command of any bash script that will look through a given folder and remove any weird chars? (4 Replies)
I found a closed thread that helped quite a bit. I tried adding the URL, but I can't because I don't have enough points... ?
Modifying the syntax to remove ! ~
find . -type f -name '*~\!]*' |
while IFS= read -r; do
mv -- "$REPLY" "${REPLY//~\!]}";
done
These messages are... (2 Replies)
Hi All,
Can any one help me to list out the directory names which contain the specified file.
See for example
File name : file.201307014.LKT
Have the directory structure as below.
/app/work/data/INDIA/file.201307014.LKT
/app/work/data/AMERICA/file.201307014.KTP... (5 Replies)
Discussion started by: Balasankar
5 Replies
LEARN ABOUT OSX
directoryservice
dspluginhelperd(8) BSD System Manager's Manual dspluginhelperd(8)NAME
dspluginhelperd -- support daemon for legacy DirectoryService plugins
SYNOPSIS
dspluginhelperd [-v]
DESCRIPTION
DirectoryService has been replaced by opendirectoryd(8). dspluginhelperd provides support for 3rd party DirectoryService plugins.
More information can be accessed from the Darwin Open Directory Page: http://developer.apple.com/darwin/projects/opendirectory/
OPTIONS
The options are as follows:
-v Display the release version.
DIAGNOSTICS
See odutil(1) for information on enabling debug logging and various other options introspection of opendirectoryd.
ERRORS
Error codes are available using dserr(1) or from framework headers <DirectoryService/DirServiceTypes.h>. DirectoryService.framework is dep-
recated as of 10.6 and OpenDirectory.framework should be used instead.
OPEN SOURCE
The source code for dspluginhelperd is available as part of Apple's Darwin open source initiative. dspluginhelperd is part of the Directory-
Service project. More information on Darwin may be found on the Web at
http://developer.apple.com/darwin/projects/opendirectory/
DirectoryService API and Plug-in API are documented at
http://developer.apple.com/referencelibrary/Networking/
The headers for the deprecated DirectoryService APIs can also be found in the following location:
/System/Library/Frameworks/DirectoryService.framework/Headers/
FILES
/Library/DirectoryServices/PlugIns location of third party plugins
SEE ALSO opendirectoryd(8), odutil(1), DirectoryServiceAttributes(7), dscl(1), dsmemberutil(1), dscacheutil(1), dseditgroup(8), dsenableroot(8),
dserr(8), pwpolicy(8)MacOSX Jun 23, 2010 MacOSX