source: flacrip/trunk/umountsort @ 44

Last change on this file since 44 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
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.