Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 06-17-2010, 04:30 PM   #1
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
Old 06-17-2010, 04:45 PM   #2
Senior Member
Registered: Dec 2009
Posts: 1,387

Rep: Reputation: 173Reputation: 173
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, 04:53 PM   #3
LQ Newbie
Registered: Jun 2010
Posts: 3

Original Poster
Rep: Reputation: 0
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?


Last edited by MDeFreitas; 06-17-2010 at 05:05 PM.
Old 06-25-2010, 08:00 AM   #4
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


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

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 02:16 PM
Delete Files in directory villumanati Linux - General 7 12-30-2008 02:18 PM
How to delete once whole files in a remote directory? backpacker Linux - Networking 1 03-10-2006 06:04 AM
rm can't delete 999999 files in one directory yelo Linux - Software 10 04-10-2004 03:00 PM
How can I delete a directory and its files? OrganicX Linux - General 6 09-01-2002 05:25 AM > Forums > Linux Forums > Linux - Newbie

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

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