LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 02-13-2006, 06:13 AM   #1
Rick069
Member
 
Registered: Feb 2005
Distribution: ROSA
Posts: 194

Rep: Reputation: 30
File and folder deletion


What's the easiest way to delete a file and/or a folder that won't otherwise delete by the pressing of one key?
 
Old 02-13-2006, 06:19 AM   #2
J_K9
Member
 
Registered: Nov 2004
Distribution: Slackware 11, Ubuntu 6.06 LTS
Posts: 700

Rep: Reputation: 30
Er...well you either press the Delete key after selecting the item in the GUI (lol), or you can open up a terminal window and after 'cd'-ing into the directory the file/folder is contained in, type: "rm -f filename" or "rm -rf foldername/".

Cheers,

-jk
 
Old 02-13-2006, 10:45 AM   #3
linux_yoda
LQ Newbie
 
Registered: Jul 2003
Location: Michigan
Distribution: Ubuntu Breezy
Posts: 16

Rep: Reputation: 0
If you don't want it to delete with one keystroke you could set up a shortcut so you have to hit "ctl-F7" to delete. Or am I completely missing what you want to do?
 
Old 02-13-2006, 11:36 AM   #4
duffmckagan
Senior Member
 
Registered: Feb 2005
Distribution: Cent OS 6.4
Posts: 1,163

Rep: Reputation: 47
Just press the Delete key, and your file/folder will be moved to Trash.
Press Shift+Delete and your file/folder will be deleted permanently, bypassing the Trash Folder.
 
Old 02-13-2006, 12:03 PM   #5
RedShirt
Senior Member
 
Registered: Oct 2005
Location: Denver
Distribution: Sabayon 3.5Loop2
Posts: 1,150

Rep: Reputation: 45
I am not sure exactly what you mean... all of the above are ways of interpretting the OP, but I was thinking more along the lines of single click/double click? Which you can change in KDE's control panel mouse properties to set the default as double clicking... that way single click selects, then double executes. Then as duffmckagan mentioned, delete key deletes to trash...and shift delete bypasses the trash and wipes it completely.
 
Old 02-13-2006, 09:08 PM   #6
duffmckagan
Senior Member
 
Registered: Feb 2005
Distribution: Cent OS 6.4
Posts: 1,163

Rep: Reputation: 47
True. The question itself is quite unclear. Hence, people good guessers are helping in each and every way they can. ;-)
 
  


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
BASH: how to automate deletion of oldest folder big_mike_jones Programming 18 11-22-2005 02:59 PM
File Deletion mhkhalqani Linux - General 1 10-12-2005 03:08 AM
secure file deletion shawn59 Linux - Security 2 06-12-2005 09:00 PM
ROX-filer: file deletion and trash folder woland Linux - Software 0 08-22-2004 11:16 PM
Automatic deletion of spam folder? RKris Linux - General 1 05-27-2003 08:21 AM


All times are GMT -5. The time now is 11:04 AM.

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