Whats in your .bashrc

here is a useful function, if you copy to usb thumb drive a lot like I do this makes sure the command isn’t complete until the actual copy has finished on the drive.

function xcopy(){
	#copy command for external devices.
local FILE_2_COPY="$1"
local FDESTINATION="$2"
	rsync -avuhP "$FILE_2_COPY" "$FDESTINATION" && sync
}

I’ve forever have just used a copy command from history that I already added the && sync to however needing it on other machines making it’s own function made more since