Sponsored Content
Full Discussion: ghost file, delete help
Top Forums UNIX for Dummies Questions & Answers ghost file, delete help Post 302088490 by jopper on Tuesday 12th of September 2006 07:30:35 PM
Old 09-12-2006
ghost file, delete help

I'm trying to delete a folder in my trash that contains no files or hidden files and nothing happens. It is still there.
However, when I try to delete everything in the folder in terminal I receive an error: Ti?ng Viê?t.html: No such file or directory. I can't find this file anywhere on my tiger powerpc laptop. Also I have RWX privilege, and I'm the owner and group for each dir. Here's what terminal says.

Thanks for any help.

DS-G4:~/desktop/test/.Trash/bob/bob1 ds$ ls -la
ls: Ti?ng Viê?t.html: No such file or directory
total 0
drwxr-xr-x 3 ds 502 102 Sep 10 15:34 .
drwxr-xr-x 3 ds 502 102 Sep 12 16:19 ..
DS-G4:~/desktop/test/.Trash/bob/bob1 ds$ rm *
rm: Ti?ng Viê?t.html: No such file or directory
DS-G4:~/desktop/test/.Trash/bob/bob1 ds$ cd ../../..
DS-G4:~/desktop/test ds$ rm -r .trash
rm: .trash/bob/bob1/Ti?ng Viê?t.html: No such file or directory
rm: .trash/bob/bob1: Directory not empty
rm: .trash/bob: Directory not empty
rm: .trash: Directory not empty
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

PS finds a ghost?

Hello, I have problems executing a script in ksh with this script named process.sh: ps -ef | grep process.sh | grep -v grep | wc -l | read a if then echo "The script is running" exit 0 fiThe problem is that when I execute the script, sometimes it shows the message "The script is... (10 Replies)
Discussion started by: jguirao
10 Replies

2. UNIX for Dummies Questions & Answers

logoff ghost user

I just noticed by running a who command that I was logged in twice . So two admin2 are on the list. (solaris 2.6) Since I telnet using a windows 98, I suppose that I forgot to CTRL-D last time I logged in and clicked on hangup. In such a case, how can I loggoff the old ghost loggin ? It's not a... (4 Replies)
Discussion started by: phpote
4 Replies

3. UNIX for Dummies Questions & Answers

Can I ghost a Unix Box ? with another

I have a Solaris Ultra 10 Box, which contains all my software, I got a new Sun Ultra10 with the same configuration. Can I ghost the it ? Does Unix support any such application. (6 Replies)
Discussion started by: stephen104
6 Replies

4. UNIX for Dummies Questions & Answers

About ghost pid

Hi, I have a strange (for me) problem here: I use stop command to close program. After that I try to start it again. However, it wont start because one of the needed component fails to start. That is caused propably because the failing component is still running (obviously as a ghost pid).... (3 Replies)
Discussion started by: kolada
3 Replies

5. AIX

Ghost Users

I am having a problem that I cannot figure out. RS6000 server running AIX 5.2. Users connect via TCP/IP and login and work just fine. When the user logs out of the application, I can run the "who" command or "w" command and the O/S still reports the user as logged in. If I run "ps -tpts/xx"... (2 Replies)
Discussion started by: Docboyeee
2 Replies

6. UNIX for Dummies Questions & Answers

ghost reboot on AIX5300-08

we are on aix5300-08. it reboot by itself. according to our unix admin and IBM support, they had seen this before. so, they asked her to apply latest AIX patch for 5300-08. did anyone ever seen anything like this before ? (0 Replies)
Discussion started by: tjmannonline
0 Replies

7. UNIX for Dummies Questions & Answers

ghost 4 unix

Hello, I am looking for help on how to use ghost 4 unix. I know there is a site for ghost 4 unix, but if I understood that I wouldn't be here. Everything is already set up, there is a ftp server, iomega network hard drive, there are already images on this network harddrive. I know how to use the... (0 Replies)
Discussion started by: slakk
0 Replies

8. AIX

Flashcopy, ghost hdisk ??

Hi all, I'm getting some errors on AIX regarding Flashcopy and volume group hard disks. The script that activates flashcopy showed this errors: Recreating Flashcopy for lun01_A1 Performing syntax check... Syntax check complete. Executing script... Script execution complete. SMcli... (1 Reply)
Discussion started by: enux
1 Replies

9. UNIX for Dummies Questions & Answers

Delete directory from ghost owner with awk

Hi all Unix gurus :) I really need urgent help with deleting ghost (owner is only numbers) accounts on our OS X server in users home directory. I get this ghost accounts after deleting a user from Workgroup Manager. I have done a script that I can see this ghost accounts with: ls -la |... (4 Replies)
Discussion started by: macguy
4 Replies

10. Red Hat

Need Script to ZIP/SAVE & then DELETE Log file & DELETE ZIPS older than 12 months

ENVIROMENT Linux: Fedora Core release 1 (Yarrow) iPlanet: iPlanet-WebServer-Enterprise/6.0SP1 Log Path: /usr/iplanet/servers/https-company/logs I have iPlanet log rotation enabled rotating files on a daily basis. The rotated logs are NOT compressed & are taking up too much space. I... (7 Replies)
Discussion started by: zachs
7 Replies
RMF(1)								     [nmh-1.5]								    RMF(1)

NAME
rmf - remove an nmh folder SYNOPSIS
rmf [+folder] [-interactive | -nointeractive] [-version] [-help] DESCRIPTION
Rmf removes all of the messages (files) within the specified (or default) folder, and then removes the folder (directory) itself. If there are any files within the folder which are not a part of nmh, they will not be removed, and an error will be produced. If the folder is given explicitly or the -nointeractive option is given, then the folder will be removed without confirmation. Otherwise, the user will be asked for confirmation. If rmf can't find the current folder, for some reason, the folder to be removed defaults to `+inbox' (unless overridden by user's profile entry "Inbox") with confirmation. If the folder being removed is a subfolder, the parent folder will become the new current folder, and rmf will produce a message telling the user this has happened. This provides an easy mechanism for selecting a set of messages, operating on the list, then removing the list and returning to the current folder from which the list was extracted. If rmf s used on a read-only folder, it will delete all the (private) sequences (i.e., "atr-seq-folder" entries) for this folder from your context without affecting the folder itself. Rmf irreversibly deletes messages that don't have other links, so use it with caution. FILES
$HOME/.mh_profile The user profile PROFILE COMPONENTS
Path: To determine the user's nmh directory Current-Folder: To find the default current folder Inbox: To find the default inbox SEE ALSO
rmm(1) DEFAULTS
`+folder' defaults to the current folder, usually with confirmation `-interactive' if +folder' not given, `-nointeractive' otherwise CONTEXT
Rmf will set the current folder to the parent folder if a subfolder is removed; or if the current folder is removed, it will make "inbox" current. Otherwise, it doesn't change the current folder or message. BUGS
Although intuitively one would suspect that rmf works recursively, it does not. Hence if you have a sub-folder within a folder, in order to rmf the parent, you must first rmf each of the children. MH.6.8 11 June 2012 RMF(1)
All times are GMT -4. The time now is 12:02 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy