cpx alias
alias cpx="rsync -ah --progress"
Example:
cpx -r source-folder/ path-to-destination/
Description:
- Replacement for standard
cp
that gives you progress bars and ETAs - Maintains file permissions (
rsync -a
) - Display progress in human-readable format (
rsync -h
) - Takes
-r
just like standardcp
for recursive copies
Misc.
You can actually use curl
locally if you’re a weirdo to get the same result (although it doesn’t maintain file permissions)
curl -o path-to-destination/ FILE://source-folder/