09-22-2011
try to delete forcefully !
This User Gave Thanks to nithyanandan For This Post:
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi
I have Solaris 8 in several Ultras and they share some directories between each others using nfs.
(you know, one shares the other mounts the remote directory into a local...).
The problem is that one guy (me) deleted a shared directory and now the computer that was mounting it remotely is... (3 Replies)
Discussion started by: piltrafa
3 Replies
2. UNIX for Dummies Questions & Answers
SCO 5.06
Someone broke into my NT box (grrr) and somehow, they created a bunch of directories w/ subdirectories that appear un-named.
I mounted the drive on my unix box using NFS and when I listed the directory in unix, Im getting a bunch of ascii charachters.
drwxr-xr-x 8 root group... (4 Replies)
Discussion started by: gseyforth
4 Replies
3. UNIX for Dummies Questions & Answers
Say I have a directory call test, and several directories nested in it, and several directories nested in them. And I want to remove all directories within "test" and its subdirectories that have the name "cvs", how can I do this?
I tried rm -r cvs, but that only removed the top level direcotry... (4 Replies)
Discussion started by: mikeshank
4 Replies
4. UNIX for Dummies Questions & Answers
I searched the forum, but I don't think I was able to find exactly what I'm looking for.
Is there a command in shell where I can delete a particular string from every file it occurs in (where the file is named the same, but sits in different directories)?
Example: Within the directory I am... (5 Replies)
Discussion started by: halo969
5 Replies
5. UNIX for Dummies Questions & Answers
Hi there,
I have a some directories containing web files that are old, and I need to remove them. I know that there might be sym links and hyperlinks pointing to these old directories. If that's the case, then I'll have to fix the links before deleting these old directories to avoid broken... (4 Replies)
Discussion started by: yvochan
4 Replies
6. UNIX for Dummies Questions & Answers
hello.,
i am creating a certain sub directories as apart of my requirement,
and then later on i have to delete all those sub directories..
____________________________________________________
DIR1="/home/pavi/cvs/20071426/TEMP"
echo " DIR1 is : " $DESTDIR1
echo... (2 Replies)
Discussion started by: pavan_test
2 Replies
7. Filesystems, Disks and Memory
I have a need to remove a bunch of old user home directories from my
OS X server. Using BASH and ls, I've been able to redirect the directory structure to a file with 'ls -l >userslist'. I've then manually sifted through the list for directories whos owner doesn't match the a given directory name... (1 Reply)
Discussion started by: amacgeek
1 Replies
8. UNIX for Dummies Questions & Answers
how can we delete directories older than 6 months (9 Replies)
Discussion started by: dnat
9 Replies
9. Shell Programming and Scripting
Hello, I'm submitting this thread, because I was looking a way to delete empty directories using find and I found a thread from 2007 that helped me. I have worked from that threat, but I found that the command sent would analyze original directory and may delete it to. I have come up with expanded... (3 Replies)
Discussion started by: lramirev
3 Replies
10. Shell Programming and Scripting
Hello out there,
I want to setup a crontab feature to remove temporary pdf files from sub directories that are older than 30 days. I want to presevere the directory structer though. I got this far for a command. Will this remove the pdf's in subdirectories or just directly under the pdf folder? If... (6 Replies)
Discussion started by: vsekvsek
6 Replies
delete(n) [incr Tcl] delete(n)
__________________________________________________________________________________________________________________________________________________
NAME
delete - delete things in the interpreter
SYNOPSIS
itcl::delete option ?arg arg ...?
_________________________________________________________________
DESCRIPTION
The delete command is used to delete things in the interpreter. It is implemented as an ensemble, so extensions can add their own options
and extend the behavior of this command. By default, the delete command handles the destruction of namespaces.
The option argument determines what action is carried out by the command. The legal options (which may be abbreviated) are:
delete class name ?name...?
Deletes one or more [incr Tcl] classes called name. This deletes all objects in the class, and all derived classes as well.
If an error is encountered while destructing an object, it will prevent the destruction of the class and any remaining objects. To
destroy the entire class without regard for errors, use the "delete namespace" command.
delete object name ?name...?
Deletes one or more [incr Tcl] objects called name. An object is deleted by invoking all destructors in its class hierarchy, in
order from most- to least-specific. If all destructors are successful, data associated with the object is deleted and the name is
removed as a command from the interpreter.
If the access command for an object resides in another namespace, then its qualified name can be used:
itcl::delete object foo::bar::x
If an error is encountered while destructing an object, the delete command is aborted and the object remains alive. To destroy an object
without regard for errors, use the "rename" command to destroy the object access command.
delete namespace name ?name...?
Deletes one or more namespaces called name. This deletes all commands and variables in the namespace, and deletes all child names-
paces as well. When a namespace is deleted, it is automatically removed from the import lists of all other namespaces.
KEYWORDS
namespace, proc, variable, ensemble
itcl 3.0 delete(n)