LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 11-09-2012, 07:25 AM   #1
dare1_09
LQ Newbie
 
Registered: Nov 2012
Posts: 1

Rep: Reputation: Disabled
using inode information to move files to trash using rm command


How can one make use of the inode information about a file(which comes from stat {file-name} or ls-li) to move a file to trash using rm command?
 
Old 11-09-2012, 07:58 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
How about 'find' with the "-inum" and "-delete" args instead?
 
  


Reply



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
[SOLVED] Extremely slow to move files to trash and/or delete files permanently... CT_0000 Linux - Newbie 2 01-09-2014 10:06 AM
[SOLVED] Dolphin Can't Move Files to Trash nine9nine Linux - Newbie 5 07-12-2011 05:36 PM
[SOLVED] Bash script: how to move files to Trash instead of deleting? KonfuseKitty Programming 1 07-10-2010 12:44 PM
INFORMATION!!!!! rm will move deleted data to Trash.........For future recover farrukhndm Linux - Server 5 09-01-2008 12:57 PM
Can't move files/folders to trash... adred Linux - General 1 06-22-2008 05:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 12:39 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
Open Source Consulting | Domain Registration