Sign in with
Sign up | Sign in
Your question

Deleting files in Linux for bulky folders

Tags:
Last response: in Linux/Free BSD
Share
January 11, 2011 12:07:00 PM

Hi All.
I have a folder TXNPROC which has become really bulky with more than 3 GB of data. Could anyone suggest a way to clear this folder?

More about : deleting files linux bulky folders

a b 5 Linux
January 11, 2011 9:18:04 PM

1.)man rm
2.)rm -rf
m
0
l
a b 5 Linux
January 12, 2011 2:05:23 AM

Well second command above will work but it will delete all files and directories inside TXNPROC. If you want to be selective, you'll have to add some additional commands.
m
0
l
Related resources
January 13, 2011 6:37:25 AM

Delete the whole folder, then re-create it!
m
0
l
January 19, 2011 3:02:45 AM

You could learn shell scripting and write a script to sort all the files fairly easily. as far as deleting them all rm -rf is the way to go.
m
0
l
!