Skip to content
Snippets Groups Projects
Commit 15567a54 authored by Simon May's avatar Simon May
Browse files

Add --preserve=all to cp

parent 5028d369
No related branches found
No related tags found
No related merge requests found
......@@ -42,7 +42,7 @@ alias cd..='cd ..'
alias ..='cd ..'
# cp/mv aliases
alias cp='cp -i --reflink=auto'
alias cp='cp -i --reflink=auto --preserve=all'
alias mv='mv -i'
# git aliases
......@@ -74,7 +74,7 @@ rsync-upload() {
if [ $# -eq 0 ]; then
rsync "$flags" \
--exclude=build --exclude=ics --exclude=output --exclude=*.png \
N-GenIC arepo arepo-master P-Gadget3 gadget4 gadget4_development absorptionspectrum \
N-GenIC arepo arepo-master gadget4 gadget4_development absorptionspectrum DisPerSE ~/Documents/papers/paper_fdm_axionic \
"$target"
else
rsync "$flags" "$@" "$target"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment