괴상한 파일명의 파일 삭제하기

Tags:

[pool007@w-066 archives]$ ls
000326.html 000413.html cat_multidimensional_index.html
000327.html 2004_01_30.html cat_paper_04_protein_searching.html
000328.html 2004_01_31.html cat_resource.html
000329.html 2004_01.html cat_statistics.html
000334.html 2004_02_02.html Data Structures for Range Searching.pdf
000335.html 2004_02_05.html draft2.doc
000337.html 2004_02_11.html Indexing and Retrieval for Genomic Databases.pdf
000338.html 2004_02_17.html Inexact Matching in Karp Rabin.doc
000341.html 2004_02.html ??蹂닿낵????.pdf
000352.html 2004_03_01.html kiss.pdf
000353.html 2004_03_03.html log-odds score.pdf
000354.html 2004_03.html predator.tgz
000355.html bptree.zip protein.zip
000356.html cat_biology.html Searching on the Secondary Structure of Protein Sequences.pdf
000357.html cat_drafts.html segment(7).zip
000370.html cat_drafts_protein_searching_and_indexing.html Ternary Tree Indexing for Secondary Structure of Protein.doc
000371.html cat_drafts_protein_searching.html
000407.html cat_mathematics.html

여기서 ??蹂닿낵????.pdf 를 지우려고 하면,

[pool007@w-066 archives]$ ls -i
16810916 000326.html 16811437 2004_02.html
16810920 000327.html 16811434 2004_03_01.html
16811445 000328.html 16810905 2004_03_03.html
16811444 000329.html 16810921 2004_03.html
16811456 000334.html 16811867 bptree.zip
16811457 000335.html 16811470 cat_biology.html
16811506 000337.html 16811502 cat_drafts.html
16811512 000338.html 16811876 cat_drafts_protein_searching_and_indexing.html
16811865 000341.html 16811438 cat_drafts_protein_searching.html
16811872 000352.html 16810931 cat_mathematics.html
16811873 000353.html 16811447 cat_multidimensional_index.html
16811879 000354.html 16810915 cat_paper_04_protein_searching.html
16811880 000355.html 16811887 cat_resource.html
16811882 000356.html 16811874 cat_statistics.html
16811884 000357.html 16811875 Data Structures for Range Searching.pdf
16811877 000370.html 16812053 draft2.doc
16811439 000371.html 16811881 Indexing and Retrieval for Genomic Databases.pdf
16811433 000407.html 16811503 Inexact Matching in Karp Rabin.doc
16811883 000413.html 16810930 ??蹂닿낵????.pdf
16810904 2004_01_30.html 16811340 kiss.pdf
16811432 2004_01_31.html 16811517 log-odds score.pdf
16811463 2004_01.html 16811885 predator.tgz
16811448 2004_02_02.html 16811431 protein.zip
16811725 2004_02_05.html 16811878 Searching on the Secondary Structure of Protein Sequences.pdf
16811886 2004_02_11.html 16812052 segment(7).zip
16811443 2004_02_17.html 16811465 Ternary Tree Indexing for Secondary Structure of Protein.doc

이렇게 inode 번호를 찾은뒤,

[pool007@w-066 archives]$ rm -i `find . -inum 16810930`
rm: remove `./?\225蹂닿낵?225\231?232\214.pdf’? y

이렇게 조심히 지웁니다.

다 알고 계셨수?

그렇담 미안하구 ^^

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *