Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. #!/bin/bash
  2. for F in $*; do
  3.     if [ -h "$F" ]; then
  4.         L=$(readlink "$F")
  5.         cp --remove-destination "$L" "$F"
  6.     fi
  7. done