Skip to content

adlered/KeepUrDiskAlive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Keep Your Disk ALIVE

本程序通过每隔一段时间读写一次硬盘来防止指定目录休眠。

支持Windows/Linux/MacOS

使用方法:

提取项目release下的KeepUrDiskAlive.jar

前台运行:

Windows下,同时防止C盘和D盘休眠
java -jar KeepUrDiskAlive.jar c:/ d:/

Linux/MacOS下,防止任意目录休眠
java -jar KeepUrDiskAlive.jar /mnt /Volumes/disk1 /home

后台运行:

Windows:
javaw -jar KeepUrDiskAlive.jar [参数]

Linux/MacOS:
java -jar KeepUrDiskAlive.jar [参数] &

English

The program prevents the specified directory from sleeping by reading and writing the hard disk at regular intervals.

Support for Windows/Linux/MacOS

Instructions:

Extract the KeepUrDiskAlive.jar under the project release

The front desk is running:

Windows, while preventing C and D disks from sleeping
java -jar KeepUrDiskAlive.jar c:/ d:/

Prevent arbitrary directory hibernation under Linux/MacOS
java -jar KeepUrDiskAlive.jar /mnt /Volumes/disk1 /home

Background process:

Windows:
javaw -jar KeepUrDiskAlive.jar [Params]

Linux/MacOS:
java -jar KeepUrDiskAlive.jar [Params] &

About

✅ 防止移动硬盘休眠神器,支持全平台 | Prevent your mobile hard drive from automatically sleeping, support all platform

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages