11-02-2012
Yes, many cleanup apps remove elements referring to nonexistent paths.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Say I am in /var/adm/bin and I want to search through all the various scripts and such in that directory for a string, say, xxx@yyy.com
I want to find every file with that in there and replace it with a single space.
Is that possible?
Or, is it possible to search every file and get a list... (7 Replies)
Discussion started by: LordJezo
7 Replies
2. Shell Programming and Scripting
Hi,
How to recursively remove Ctrl M characters in files from a directory and its sub directory ?
I know unix2dos command is there but to remove in bunch of files ... ?
Thanks (7 Replies)
Discussion started by: skdp
7 Replies
3. Shell Programming and Scripting
Hi,
I need to remove files (*.trc) which are older than 30 days from one location.
My problem is there I do not want to visit any of the directories at that location. I want to search files at that particular location only (need to skip directorys at that location). maxdepth option is there... (6 Replies)
Discussion started by: malaymaru
6 Replies
4. Shell Programming and Scripting
Please provide me a shell script so that i can list which file or directory has been deleted, by which user and at what time. The script should take date as argument and should list out name of the file/directory, which user had deleted them and at what time since that particular date. Kindly post. (1 Reply)
Discussion started by: raviviolet13
1 Replies
5. Shell Programming and Scripting
I have a large list of filenames from an Excel sheet, which I then translate into a simple text file. I'd like to use this list, which contains various file extensions , to archive these files and then remove them recursively through multiple directories and subdirectories. So far, it looks like... (5 Replies)
Discussion started by: fxvisions
5 Replies
6. AIX
Hi,
Physical volume of vg was removed permanently by acident. What I need right now is to remove all vg's objects(vg itself, vg's lvs, vg's filesystems) to prepare to add new pv and create new volume group and it's objects.
This is from reducevg manual:
"Sometimes a disk is removed from the... (2 Replies)
Discussion started by: vilius
2 Replies
7. AIX
Hi,
Good day to everyone.
This is my first time joining the community and wanted to say thanks in advance for all your help and assistance. First, I am not expert in AIX and UNIX but I do know a thing or two and I have a simple question regarding ISMP.
We are using AIX 5.3 and a couple... (0 Replies)
Discussion started by: lgalang
0 Replies
8. Shell Programming and Scripting
Can anyone come up with a unix command that lists
all the files, directories and sub-directories in the current directory
except a folder called log.?
Thank you in advance. (7 Replies)
Discussion started by: Manjunath B
7 Replies
9. Shell Programming and Scripting
I am trying to remove files from a couple of directories after a process completes. Below is what I have so far, but the command does not run and cygwin closes too fast to read the error. Also, is it possible to have the printf be displayed until the files are removed then printf in italics is... (8 Replies)
Discussion started by: cmccabe
8 Replies
LEARN ABOUT LINUX
dbus-cleanup-sockets
dbus-cleanup-sockets(1) General Commands Manual dbus-cleanup-sockets(1)
NAME
dbus-cleanup-sockets - clean up leftover sockets in a directory
SYNOPSIS
dbus-cleanup-sockets [DIRECTORY]
DESCRIPTION
The dbus-cleanup-sockets command cleans up unused D-Bus connection sockets. See http://www.freedesktop.org/software/dbus/ for more informa-
tion about the big picture.
If given no arguments, dbus-cleanup-sockets cleans up sockets in the standard default socket directory for the per-user-login-session mes-
sage bus; this is usually /tmp. Optionally, you can pass a different directory on the command line.
On Linux, this program is essentially useless, because D-Bus defaults to using "abstract sockets" that exist only in memory and don't have
a corresponding file in /tmp.
On most other flavors of UNIX, it's possible for the socket files to leak when programs using D-Bus exit abnormally or without closing
their D-Bus connections. Thus, it might be interesting to run dbus-cleanup-sockets in a cron job to mop up any leaked sockets. Or you can
just ignore the leaked sockets, they aren't really hurting anything, other than cluttering the output of "ls /tmp"
AUTHOR
dbus-cleanup-sockets was adapted by Havoc Pennington from linc-cleanup-sockets written by Michael Meeks.
BUGS
Please send bug reports to the D-Bus mailing list or bug tracker, see http://www.freedesktop.org/software/dbus/
dbus-cleanup-sockets(1)