Re: Directory/File 'Stuck' in Webspace



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
.



Relevant Pages

  • Re: Unable to remove directory
    ... if I use rmdir or rm -f -r I get the message that the file or directory ... window. ... folder on an xfs server. ...
    (Ubuntu)
  • Re: Free Web Hosting - Without Ads.......... ?
    ... file manager ... FAQ that there is no size limit ??) ... Have you considered to use FileZilla for an ftp program? ...
    (alt.html)
  • Re: Directory/File Stuck in Webspace
    ... > created in cPanel's file manager. ... This operation was permitted and I could then erase the cruft through cPanel, ... Roy ...
    (comp.os.linux.misc)
  • Re: File Manager Application
    ... try ftp, it was designed to do this. ... -- bruce ... > Does anyone know of a good File Manager application that is available for ... Prev by Date: ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: 192 years total
    ... be alien to some people <LOL> ... rather than use their own file manager which is rubbish :-( ... That's the first box to implement paid for FTP. ... Darn computer's got to learn not to make typos. ...
    (uk.people.silversurfers)