source: flacrip/trunk/umountsort @ 40

Last change on this file since 40 was 39, checked in by peter, 10 years ago

issue #2: first version of script that unmounts and runs fatsort. Takes a single mount point directory only.

  • Property svn:executable set to *
File size: 117 bytes
RevLine 
[39]1#!/bin/bash
2
3MOUNT_POINT=$1
4DEVICE=$(mount | grep "$MOUNT_POINT"| cut -d' ' -f1)
5
6umount "$DEVICE"
7fatsort "$DEVICE"
Note: See TracBrowser for help on using the repository browser.