In my computer, I have a ntfs network disk, and with cygwin and bash I have some automatic script (post-commit git hooks) for copy information to the ntfs disk.
with bash (in cygwin), how I can check if the ntfs is enable ?
if mount | grep -q /path/to/device/or/mount/point ; then
# it's mounted
else
# it's not
fi