Skip to content

RalXYZ/moyu.sh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

摸鱼.sh

Good news: moyu.pl has been added!

Welcome!
You can create a JUNK file in a specified size, which looks just like a normal file.
This shell script is great for you to deal with an irresponsible professor.

Run

Feel free to choose between moyu.sh and moyu.pl!
Before running:

chmod u+x moyu.sh
# or
chmod u+x moyu.pl

Then, you can run the script simply by:

./moyu.sh
# or
./moyu.pl
# Run the shell script with no argument for help 

Result

$ ls -alh
total 4.5M
drwxrwxr-x  2 ralxyz ralxyz 4.0K Mar 18 10:42 .
drwxrwxr-x 17 ralxyz ralxyz 4.0K Mar 18 10:42 ..
-rw-rw-r--  1 ralxyz ralxyz  23K Mar 18 10:41 CS101-lab1.docx
-rw-rw-r--  1 ralxyz ralxyz  470 Mar 18 10:38 moyu.sh
-rw-rw-r--  1 ralxyz ralxyz  23K Mar 18 10:41 实验数据记录表.xls
-rw-rw-r--  1 ralxyz ralxyz 4.5M Mar 18 10:22 数据库实验报告.pdf