Last active
August 31, 2018 14:21
-
-
Save Hazem-Ben-Khalfallah/eff1514d2981597d4802582319e2311a to your computer and use it in GitHub Desktop.
[remove a big file] remove a big file quickly #linux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ls -il [FILE_PATH] | |
| sudo find [PARENT_DIRETORY] -inum [FILE_INUM] -exec rm -i {} \; | |
| exemple: | |
| >ls -il test.txt | |
| 1135865 -rw-r--r-- 1 user user 4525 Nov 15 2017 test.csv | |
| >sudo find /home/user/folder -inum 1135865 -exec rm -i {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment