Monday, November 29, 2010

Does anyone has a script to clean up lost+found directory?

Permlink Replies: 3 - Pages: 1 - Last Post: Nov 25, 2010 10:52 AM Last Post By: Jirong_Hu Threads: [ Previous | Next ]
Posts: 280
Registered: Sep 04, 2008 05:41:32 PM Does anyone has a script to clean up lost+found directory?
Posted: Nov 24, 2010 04:22:44 PM I believe I had one, but can't find it. Can anyone post one here?

Thanks
Jirong


Posts: 280
Registered: Sep 04, 2008 05:41:32 PM Re: Does anyone has a script to clean up lost+found directory?
Posted: Nov 24, 2010 04:33:40 PM   in response to: Jirong_Hu in response to: Jirong_Hu's post I have a file in lost+found, can't be deleted. Can anyone help?

Thanks
Jirong

M:\c999752_view\Mainframe_CVOB2\lost+found>dir
Volume in drive M is CCase
Volume Serial Number is 0234-5789

Directory of M:\c999752_view\Mainframe_CVOB2\lost+found

11/24/2010 04:27 PM

.
11/01/2010 03:31 PM ..
08/03/2010 10:03 AM 0 -nc.211a92e1797b4a50a0f59f0085a9d277
1 File(s) 0 bytes
2 Dir(s) 52,428,800,000 bytes free

M:\c999752_view\Mainframe_CVOB2\lost+found>cleartool rmelem *
cleartool: Error: Pathname not found: "*".

M:\c999752_view\Mainframe_CVOB2\lost+found>cleartool rmelem -f \"-nc.211a92e1797b4a50a0f59f0085a9d27
7\"
cleartool: Error: Pathname not found: ""-nc.211a92e1797b4a50a0f59f0085a9d277"".

M:\c999752_view\Mainframe_CVOB2\lost+found>cleartool rmelem -f "-nc.211a92e1797b4a50a0f59f0085a9d277
"
cleartool: Error: Unrecognized option "-nc.211a92e1797b4a50a0f59f0085a9d277"
Usage: rmelem -force [-c comment | -cfile pname | -cq | -cqe | -nc] pname ...

M:\c999752_view\Mainframe_CVOB2\lost+found>cleartool rmelem -f -nc.*
cleartool: Error: Unrecognized option "-nc.*"
Usage: rmelem -force [-c comment | -cfile pname | -cq | -cqe | -nc] pname ...

M:\c999752_view\Mainframe_CVOB2\lost+found>cleartool rmelem -f -nc.211a92e1797b4a50a0f59f0085a9d277
cleartool: Error: Unrecognized option "-nc.211a92e1797b4a50a0f59f0085a9d277"
Usage: rmelem -force [-c comment | -cfile pname | -cq | -cqe | -nc] pname ...

M:\c999752_view\Mainframe_CVOB2\lost+found>\


Posts: 416
Registered: Mar 15, 2005 04:40:07 AM Re: Does anyone has a script to clean up lost+found directory?
Posted: Nov 25, 2010 05:35:48 AM   in response to: Jirong_Hu in response to: Jirong_Hu's post Jirong_Hu wrote:
> I have a file in lost+found, can't be deleted. Can anyone help?

Your question here doesn't match your subject.
The FAQ for your one file problem is: ./-nc*

FAQ 1.1.1

The FAQ for your subject question is less simple, and less tidy:

FAQ 1.5.8

Marc


Posts: 280
Registered: Sep 04, 2008 05:41:32 PM Re: Does anyone has a script to clean up lost+found directory?
Posted: Nov 25, 2010 10:52:47 AM   in response to: 314 in response to: 314's post Hi Marc

Thanks a lot for your information. I was trying \.

Jirong

Help

Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular type of content or application that you're viewing.

My tags shows your tags for this particular type of content or application that you're viewing.

Use the search field to find all types of content in My developerWorks with that tag. Use the slider bar to see more or fewer tags. Popular tags shows the top tags for this particular type of content or application that you're viewing. My tags shows your tags for this particular type of content or application that you're viewing.MoreLess 
Point your RSS reader here for a feed of the latest messages in all forums

View the original article here

No comments:

Post a Comment