Re: Directory/File 'Stuck' in Webspace
- From: "Chris F.A. Johnson" <cfajohnson@xxxxxxxxx>
- Date: Sat, 14 Jan 2006 16:59:08 -0500
On 2006-01-14, Roy Schestowitz wrote:
> For over a year I have been trying to remove a void directory, which I once
> created in cPanel's file manager. When trying to remove it from cPanel's
> interface: "Internal Error, can't find that folder". I tried shell access
> too:
>
> $ ls
> Perturbation_Specification/ Perturbation/
> Error_Propagation/ Perturbation_Method/
> Euclidean/ Presentation_and_Talk/
> ISBI_2006_Plan/ Sensitivity_Errors/
> ISBI_Structure/ Shuffle_Distance/
> January_2005_Tools/ Thesis_Structure/
> NRR_Evaluation_Assessment_Errors/ index.htm
> NRR_VXL/
> $ rmdir Perturbation_Specification
> rmdir: `Perturbation_Specification': No such file or directory
> $ rmdir \ \ \ \ \ \ \ \ Perturbation_Specification
> rmdir: ` Perturbation_Specification': No such file or directory
>
> I thought it would be resolved in due time (maybe owing to filesystem
> maintenance carried out by the Web host). After a year I am led to believe
> that it's there to stay forever. No luck with FTP either. About 10 minutes
> ago I renamed a file via cPanel; the filename mistakenly contained a space
> at the start. It seems like the same scenario all over again, so I decided
> to ask you guys. There's cruft left behind and I spend plenty of time trying
> to remove it to no avail. Any workarounds or ideas? Red Hat
> 2.4.20-30.9smp/Apache 1.3.33/cPanel X v2.5.0/
Use wildcards. FIrst, make sure that you are matching only one
directory:
ls -l *Perturbation_Specification*
Adjust as necessary to limit it to one entry, then remove it:
rmdir *Perturbation_Specification*
--
Chris F.A. Johnson, author | <http://cfaj.freeshell.org>
Shell Scripting Recipes: | My code in this post, if any,
A Problem-Solution Approach | is released under the
2005, Apress | GNU General Public Licence
.
- Follow-Ups:
- Re: Directory/File 'Stuck' in Webspace
- From: Roy Schestowitz
- Re: Directory/File 'Stuck' in Webspace
- References:
- Directory/File 'Stuck' in Webspace
- From: Roy Schestowitz
- Directory/File 'Stuck' in Webspace
- Prev by Date: Re: Yet Another Recommendation Request: Noob, user (not server), just to fool around...
- Next by Date: Re: NaAme of PC in DHCP list
- Previous by thread: Re: Directory/File 'Stuck' in Webspace
- Next by thread: Re: Directory/File 'Stuck' in Webspace
- Index(es):
Relevant Pages
|