๐When I'm done, half of files will still exist.
Project description
# thanos-py
ํ๋ ธ์ค๊ฐ ๋น์ ์ ์ปดํจํฐ์ ๋์ฐฉํ์ด์! ๊ทธ๋ ๋น์ ์ ํ์ผ์ ํ๊ดดํ๋ฌ ์์ด์..!
๊ทธ๋ ๋น์ ์ ํ์ผ์ค ์ ๋ฐ์ ๊ฑดํ๋ ๊ณผ ํจ๊ป ์์ ํ๊ฒจ์ ๋ ๋ ค๋ฒ๋ฆด๊ฑฐ์์..!
๋น์ ์ด ์ ๋ง ์ด์ด์ข๋ค๋ฉด, ๊ทธ๋ ๋ณ ์ค์ํ์ง ์์ ํ์ผ๋ค๋ง ๋ ๋ ค๋ฒ๋ฆฌ๊ฒ ์ฃ ? ํ์ด์ ๋น์ด์ :D
## Install
`pip install thanos-py`
## Usage
- remove root dir : `thanos-py /`
- another location : `thanos-py /Your/Own/Location/`
## Technical Details
- ๊ทธ๋์, ์ด๊ฑด ํ์ผ์ ์ง์์ค์ [ ์ด ํจํค์ง๊ฐ ๋ฌด์์ ํ๋์ง ์ ๋ชจ๋ฅด๋ ์ฌ๋์ ์ํ์ฌ (์ฐก๊ธ)]
- ์ด๊ฒ์ `os.remove()` ํจ์๋ฅผ ํตํด์ ํ์ผ์ ์ง์์
- ์ด๊ฒ์ ๋ช ๋ น์ด ์คํ๋ ๋๋ ํ ๋ฆฌ์ ๋ชจ๋ ํ์๋๋ ํ ๋ฆฌ๋ฅผ ๋์๋ค๋ ์. ๊ทธ๋ฌ๋ ํด๋์์ ์๋ ํ์ผ๋ ์ง์์ง ์ ์์ด์
- ์ด๊ฒ์ด ์ ํํ๊ฒ 2/1๊ฐ์ ํ์ผ์ ์ง์ธ์ง๋ ์ ๋ ์ ๋ชจ๋ฅด๊ฒ ์ด์ (์ผ!!)
```py
search(target)
random.shuffle(filelist)
print("[๐] Death note is ready...")
filecount = len(filelist)
for i in range(0, int(filecount / 2)):
deletelist.append(filelist[i])
print (deletelist[i])
for i in range(filecount + 1):
os.remove(str(deletelist[i]))
// logic to delete the file
}
```
## ์ฒจ์ธ
์ปจ์ ์ thanosjs.org ์์ ๋ฐ์์ด์ ใ ใ ใ ..
์ฌ์ค์ ๊ฑฐ์ ๋น์ทํ๋ฐ ์ ๊ฐ ์ธ์๋ฅผ ์ ๋ค๋ฃฐ์ค ๋ชฐ๋ผ์ thanos.js ์ฒ๋ผ ์ธํผ๋ํฐ ๊ฑดํ๋ ์ธ์๋ฅผ ์ด์บ๋ฐ์์ผํ ์ง ์ ๋ชจ๋ฅด๊ฒ ์ด์ ใ ใ ใ ..
"--" ํด์ ๋ฐ๋ ์ธ์๋ ๊ทธ๋ฅ ๋ฐ๋ ์ธ์๋ ๋ฐ์๋ "--" ํฌํจ์์ผ์ ๋ฐ์ผ๋ฉด ๋๋๊ฑด๊ฐ..ใ ใ ใ ..
ํ๋ ธ์ค๊ฐ ๋น์ ์ ์ปดํจํฐ์ ๋์ฐฉํ์ด์! ๊ทธ๋ ๋น์ ์ ํ์ผ์ ํ๊ดดํ๋ฌ ์์ด์..!
๊ทธ๋ ๋น์ ์ ํ์ผ์ค ์ ๋ฐ์ ๊ฑดํ๋ ๊ณผ ํจ๊ป ์์ ํ๊ฒจ์ ๋ ๋ ค๋ฒ๋ฆด๊ฑฐ์์..!
๋น์ ์ด ์ ๋ง ์ด์ด์ข๋ค๋ฉด, ๊ทธ๋ ๋ณ ์ค์ํ์ง ์์ ํ์ผ๋ค๋ง ๋ ๋ ค๋ฒ๋ฆฌ๊ฒ ์ฃ ? ํ์ด์ ๋น์ด์ :D
## Install
`pip install thanos-py`
## Usage
- remove root dir : `thanos-py /`
- another location : `thanos-py /Your/Own/Location/`
## Technical Details
- ๊ทธ๋์, ์ด๊ฑด ํ์ผ์ ์ง์์ค์ [ ์ด ํจํค์ง๊ฐ ๋ฌด์์ ํ๋์ง ์ ๋ชจ๋ฅด๋ ์ฌ๋์ ์ํ์ฌ (์ฐก๊ธ)]
- ์ด๊ฒ์ `os.remove()` ํจ์๋ฅผ ํตํด์ ํ์ผ์ ์ง์์
- ์ด๊ฒ์ ๋ช ๋ น์ด ์คํ๋ ๋๋ ํ ๋ฆฌ์ ๋ชจ๋ ํ์๋๋ ํ ๋ฆฌ๋ฅผ ๋์๋ค๋ ์. ๊ทธ๋ฌ๋ ํด๋์์ ์๋ ํ์ผ๋ ์ง์์ง ์ ์์ด์
- ์ด๊ฒ์ด ์ ํํ๊ฒ 2/1๊ฐ์ ํ์ผ์ ์ง์ธ์ง๋ ์ ๋ ์ ๋ชจ๋ฅด๊ฒ ์ด์ (์ผ!!)
```py
search(target)
random.shuffle(filelist)
print("[๐] Death note is ready...")
filecount = len(filelist)
for i in range(0, int(filecount / 2)):
deletelist.append(filelist[i])
print (deletelist[i])
for i in range(filecount + 1):
os.remove(str(deletelist[i]))
// logic to delete the file
}
```
## ์ฒจ์ธ
์ปจ์ ์ thanosjs.org ์์ ๋ฐ์์ด์ ใ ใ ใ ..
์ฌ์ค์ ๊ฑฐ์ ๋น์ทํ๋ฐ ์ ๊ฐ ์ธ์๋ฅผ ์ ๋ค๋ฃฐ์ค ๋ชฐ๋ผ์ thanos.js ์ฒ๋ผ ์ธํผ๋ํฐ ๊ฑดํ๋ ์ธ์๋ฅผ ์ด์บ๋ฐ์์ผํ ์ง ์ ๋ชจ๋ฅด๊ฒ ์ด์ ใ ใ ใ ..
"--" ํด์ ๋ฐ๋ ์ธ์๋ ๊ทธ๋ฅ ๋ฐ๋ ์ธ์๋ ๋ฐ์๋ "--" ํฌํจ์์ผ์ ๋ฐ์ผ๋ฉด ๋๋๊ฑด๊ฐ..ใ ใ ใ ..
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
thanos-py-0.6.tar.gz
(2.1 kB
view hashes)