Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Operating System
Strange File In Trash
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Dysfunction" data-source="post: 677738" data-attributes="member: 51052"><p>well, if the ls -ali shows something, the first column should be the inode.</p><p></p><p>Like such.</p><p>[code]</p><p>mikeMbp:test1 mike$ ls -li</p><p>total 6336</p><p>8571960 -rw-r--r--@ 1 mike staff 335933 May 4 21:27 00448_antelopecanyon_1440x900_May_4_21:27_1.jpg</p><p>8571959 -rw-r--r--@ 1 mike staff 801575 May 5 2007 01412_fallsofclyde_1440x900_May_5_2007_2.jpg</p><p>8571958 -rw-r--r-- 1 mike staff 575967 May 10 15:42 _DSC0021_May_10_15:42_3.jpg</p><p>8571955 -rw-r--r-- 1 mike staff 426214 May 17 12:56 _DSC0076_May_17_12:56_4.jpg</p><p>8571956 -rw-r--r-- 1 mike staff 578896 May 17 12:57 _DSC0077_May_17_12:57_5.jpg</p><p>8571957 -rw-r--r-- 1 mike staff 509436 May 17 13:11 _DSC0118_May_17_13:11_6.jpg[/code]</p><p>so in this case, lets say it's I want to be rid of, I'd issue..</p><p>[code]</p><p>mikeMbp:test1 mike$ find . -inum 8571960 -exec rm -i {} \;</p><p>[/code]</p><p>which would result in [code]</p><p>remove ./00448_antelopecanyon_1440x900_May_4_21:27_1.jpg? y</p><p>mikeMbp:test1 mike$ ls</p><p>01412_fallsofclyde_1440x900_May_5_2007_2.jpg _DSC0076_May_17_12:56_4.jpg _DSC0118_May_17_13:11_6.jpg</p><p>_DSC0021_May_10_15:42_3.jpg _DSC0077_May_17_12:57_5.jpg</p><p>mikeMbp:test1 mike$ ls -li</p><p>total 5672[/code]</p><p>8571959 -rw-r--r--@ 1 mike staff 801575 May 5 2007 01412_fallsofclyde_1440x900_May_5_2007_2.jpg</p><p>8571958 -rw-r--r-- 1 mike staff 575967 May 10 15:42 _DSC0021_May_10_15:42_3.jpg</p><p>8571955 -rw-r--r-- 1 mike staff 426214 May 17 12:56 _DSC0076_May_17_12:56_4.jpg</p><p>8571956 -rw-r--r-- 1 mike staff 578896 May 17 12:57 _DSC0077_May_17_12:57_5.jpg</p><p>8571957 -rw-r--r-- 1 mike staff 509436 May 17 13:11 _DSC0118_May_17_13:11_6.jpg</p><p>mikeMbp:test1 mike$</p></blockquote><p></p>
[QUOTE="Dysfunction, post: 677738, member: 51052"] well, if the ls -ali shows something, the first column should be the inode. Like such. [code] mikeMbp:test1 mike$ ls -li total 6336 8571960 -rw-r--r--@ 1 mike staff 335933 May 4 21:27 00448_antelopecanyon_1440x900_May_4_21:27_1.jpg 8571959 -rw-r--r--@ 1 mike staff 801575 May 5 2007 01412_fallsofclyde_1440x900_May_5_2007_2.jpg 8571958 -rw-r--r-- 1 mike staff 575967 May 10 15:42 _DSC0021_May_10_15:42_3.jpg 8571955 -rw-r--r-- 1 mike staff 426214 May 17 12:56 _DSC0076_May_17_12:56_4.jpg 8571956 -rw-r--r-- 1 mike staff 578896 May 17 12:57 _DSC0077_May_17_12:57_5.jpg 8571957 -rw-r--r-- 1 mike staff 509436 May 17 13:11 _DSC0118_May_17_13:11_6.jpg[/code] so in this case, lets say it's I want to be rid of, I'd issue.. [code] mikeMbp:test1 mike$ find . -inum 8571960 -exec rm -i {} \; [/code] which would result in [code] remove ./00448_antelopecanyon_1440x900_May_4_21:27_1.jpg? y mikeMbp:test1 mike$ ls 01412_fallsofclyde_1440x900_May_5_2007_2.jpg _DSC0076_May_17_12:56_4.jpg _DSC0118_May_17_13:11_6.jpg _DSC0021_May_10_15:42_3.jpg _DSC0077_May_17_12:57_5.jpg mikeMbp:test1 mike$ ls -li total 5672[/code] 8571959 -rw-r--r--@ 1 mike staff 801575 May 5 2007 01412_fallsofclyde_1440x900_May_5_2007_2.jpg 8571958 -rw-r--r-- 1 mike staff 575967 May 10 15:42 _DSC0021_May_10_15:42_3.jpg 8571955 -rw-r--r-- 1 mike staff 426214 May 17 12:56 _DSC0076_May_17_12:56_4.jpg 8571956 -rw-r--r-- 1 mike staff 578896 May 17 12:57 _DSC0077_May_17_12:57_5.jpg 8571957 -rw-r--r-- 1 mike staff 509436 May 17 13:11 _DSC0118_May_17_13:11_6.jpg mikeMbp:test1 mike$ [/QUOTE]
Verification
Post reply
Forums
Apple Computing Products:
macOS - Operating System
Strange File In Trash
Top