Ubuntu Server: Symbolically Copy an Entire Directory

In an effort to improve file organization, without actually altering the original file names, i’ve found the ‘lndir’ tool to be pretty handy.  It’s actually pretty simple.  Just navigate to the directory you want your copy to end up and run the command on the directory you want to copy.

[cc]lndir “/dir/to/copy/”[/cc]

After running the command feel free to move, delete, and rename to your hearts content.  Your original files will remain untouched, and the symbolic links will remember where they point.

Grow a GPT / XFS Partition

After expanding a raid the partition and file system will need to be grown to utilize this extra space.  The instructions here are tailored for a GPT partition with an XFS filesystem.  Continue reading for a complete log of the process.

Continue reading “Grow a GPT / XFS Partition”