An open API service indexing awesome lists of open source software.

https://github.com/adlered/keepurdiskalive

:white_check_mark: 防止移动硬盘休眠神器,支持全平台 | Prevent your mobile hard drive from automatically sleeping, support all platform
https://github.com/adlered/keepurdiskalive

Last synced: 12 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# Keep Your Disk ALIVE

### [English README Click ME](#english)

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

支持Windows/Linux/MacOS

使用方法:

提取项目release下的KeepUrDiskAlive.jar

前台运行:

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

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

后台运行:

```$xslt
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:

```$xslt
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:

```$xslt
Windows:
javaw -jar KeepUrDiskAlive.jar [Params]

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