Skip to content

Instantly share code, notes, and snippets.

@tridevgurung
Created February 25, 2016 06:16
Show Gist options
  • Save tridevgurung/59e7b602c90e546c97fc to your computer and use it in GitHub Desktop.
Save tridevgurung/59e7b602c90e546c97fc to your computer and use it in GitHub Desktop.
Collection Script
#!/bin/bash
APPNAME="appfolder"
MOUNT_POINT="/media/hdd"
APP_PATH="$MOUNT_POINT/$APPNAME"
USERS_DIR="$APP_PATH/workers"
sudo chmod -R 777 /$APP_PATH
mv $USERS_DIR/*/tagged/* $APP_PATH/delivery
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment