LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-02-2007, 06:02 PM   #1
Tenover
Member
 
Registered: Mar 2003
Posts: 123

Rep: Reputation: 15
Need some quick help removing/deleting folders


Running Linux RH7.3. The drive is full and I need to simply move a bunch of outdated directories to my windows machine. I am an Admin on the machine. When, from my local XP machine, try to move any folders from the Linux server to my machine, it seems to move "most" everything over and then says "cannot remove directory <thedirectoryname>: The folder is not empty"....

Any help? Thank you.
 
Old 05-02-2007, 06:12 PM   #2
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 552Reputation: 552Reputation: 552Reputation: 552Reputation: 552Reputation: 552
Have you looked to see what specifically is left, if anything, in the folder in question? COuld it be a permissions issue?
 
Old 05-02-2007, 07:06 PM   #3
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 131Reputation: 131
Why does the message mention "removing" something when you appear to be moving things? A bit confusing, really. So do you need to delete the directory or do you want it simply moved?
 
Old 05-02-2007, 08:20 PM   #4
Tenover
Member
 
Registered: Mar 2003
Posts: 123

Original Poster
Rep: Reputation: 15
I am simply trying to MOVE a bunch of directories, all which contain lots of small files, to a share on my windows machine.
 
Old 05-02-2007, 08:33 PM   #5
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 131Reputation: 131
Sounds as it the moving process is having some trouble cleaning up the source folders. Any idea what could be left behind, any folders/files with special permissions (e.g. sticky)?
 
Old 05-02-2007, 11:42 PM   #6
rob.rice
Senior Member
 
Registered: Apr 2004
Distribution: slack what ever
Posts: 1,075

Rep: Reputation: 203Reputation: 203Reputation: 203
if you want to remove a directorie here is the kinfe that will do it
but remember to use this with the up most of care because it can
delete the whole file system at once

the fastest way to remove a directorie is

" rm -r directorie_to_remove "

remember this command can if run as root delete the whole file system at once

Last edited by rob.rice; 05-02-2007 at 11:45 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
deleting folders with files jayukanna Linux - General 4 08-23-2006 04:28 PM
help i am stupid and quick on deleting partitions :=) sibirski glodavac Linux - Software 5 06-28-2006 07:57 AM
removing folders & its contents wisdom Linux - General 11 12-24-2004 03:10 AM
removing/deleting a user cuss Linux - General 7 02-27-2003 03:27 PM
Deleting old kernel and removing it from boot loader? Koolinux Linux - General 4 11-07-2002 07:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration