8000 GitHub - vuckale/mounted-paritions-control: Perl script for unmouting/powering-off media/usb drives
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

vuckale/mounted-paritions-control

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

mounted-partitions-control.pl

Description

Perl script for unmouting/powering-off media/usb drives

Dependencies

perl, udisksctl

Debian based distros:

sudo apt-get install perl udisks

Arch based distros:

The perl package for Perl 5 is installed as part of the base group during Arch Linux installation. https://wiki.archlinux.org/index.php/Perl#Installation

sudo pacman -S udisks

Usage:

perl mounted-partitions-control.pl

After running this command you will be prompted to type ID of the drive you wish to unmount/power-off. IDs will be marked on STDOUT. After you type ID and press ENTER this script will call udisksctl command with your subshell and attempt to unmount and power-off selected drive.

About

Perl script for unmouting/powering-off media/usb drives

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0