LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
LinkBack Search this Thread
Old 06-17-2010, 03:30 PM   #1
MDeFreitas
LQ Newbie
 
Registered: Jun 2010
Posts: 3

Rep: Reputation: 0
Question Delete files in a directory - RM


Hello everyone,
I hope I explain this correctly..

I have a USB drive that I boot using SysLinux.. I think select one of several options to complete a task. I do not have access to edit those Kernels.
I need to add a option from the Syslinux menu where I can delete all the files from a specific directory. I dont know enought to do this can anyone help.
I am think i have to add a single user kernel and then delete? but how

Thank you
Marcelo
 
Old 06-17-2010, 03:45 PM   #2
yooy
Senior Member
 
Registered: Dec 2009
Posts: 1,071

Rep: Reputation: 125Reputation: 125
If i understood you correctly, you have something like grub and want to have option to delete some folder in it.

I would install small linux(like in dual boot), possibly without gui, and than add command at the end of runlevels that will "rm" files
 
Old 06-17-2010, 03:53 PM   #3
MDeFreitas
LQ Newbie
 
Registered: Jun 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Yooy,
Yes correct ... would you beable to step me through it... I know what I want but I no no linux... at all....


Also does not Grub with syslinux?

Thanks
~M

Last edited by MDeFreitas; 06-17-2010 at 04:05 PM.
 
Old 06-25-2010, 07:00 AM   #4
MDeFreitas
LQ Newbie
 
Registered: Jun 2010
Posts: 3

Original Poster
Rep: Reputation: 0
I loaded fendora in recovery mode
wrote a script and set it to reboot

A little fat for what I wanted but got the jobdone
 
  


Reply

Tags
delete, kernel, syslinux


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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to delete all the files in a directory except one file masood24 Linux - General 6 12-12-2009 01:16 PM
Delete Files in directory villumanati Linux - General 7 12-30-2008 01:18 PM
How to delete once whole files in a remote directory? backpacker Linux - Networking 1 03-10-2006 05:04 AM
rm can't delete 999999 files in one directory yelo Linux - Software 10 04-10-2004 02:00 PM
How can I delete a directory and its files? OrganicX Linux - General 6 09-01-2002 04:25 AM


All times are GMT -5. The time now is 03:18 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration