source: flacrip/trunk/umountsort

Last change on this file was 39, checked in by peter, 9 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
Line 
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.