Usage: sh main.sh $N $S $H
- $N = No. of Files to Create Hardlinks
- $S = Absolute Path to the Source File(s) Directory
- $H = Absolute Path to create Hard link(s)
Note:
- This script only creates hardlinks based on the first
$N
files that appear onls $S
- All the paths must be absolute paths terminating with a forward slash ( / )