Compare commits
No commits in common. "e08fa4f6a604f652efdee1d8fdf2e75acf4e17ff" and "bb48fa187feecdbcde6b87ebbe457425d4d887ae" have entirely different histories.
e08fa4f6a6
...
bb48fa187f
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,3 +1,3 @@
|
||||
/backup
|
||||
output.txt
|
||||
/.sublime
|
||||
.bash_aliases_local
|
||||
|
8
.sublime/sync.sublime-project
Normal file
8
.sublime/sync.sublime-project
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"folders":
|
||||
[
|
||||
{
|
||||
"path": ".."
|
||||
}
|
||||
]
|
||||
}
|
2478
.sublime/sync.sublime-workspace
Normal file
2478
.sublime/sync.sublime-workspace
Normal file
File diff suppressed because it is too large
Load Diff
@ -19,7 +19,6 @@ alias rsync_backup="rsync $DEFAULT_RSYNC --checksum --times --group --owner --de
|
||||
alias rsync_move="rsync $DEFAULT_RSYNC --checksum --remove-source-files"
|
||||
alias rsync_update="rsync $DEFAULT_RSYNC --update --times"
|
||||
alias rsync_copy="rsync $DEFAULT_RSYNC --ignore-times"
|
||||
alias copy_link='cp --no-dereference --recursive --preserve=all --link' # not --force to make it optional
|
||||
alias off='systemctl poweroff'
|
||||
alias nnn='nnn -dHrR'
|
||||
alias nn='n -dHrR'
|
||||
@ -30,19 +29,6 @@ alias mountdrive='udisksctl mount -b'
|
||||
alias unmountdrive='udisksctl unmount -b'
|
||||
alias fssizes='df -kh --output=size,used,avail,pcent,target | sort -hr'
|
||||
alias dirsizes='du -kh --apparent-size --max-depth=1 | sort -hr'
|
||||
# sed -ie 's/Beispiel/Ersetzung/' *.xml
|
||||
# sed -Eie 's/(Beispiel)/\1Anhang/' *.xml
|
||||
|
||||
|
||||
rsyncLink() {
|
||||
source=$1;
|
||||
linkSource="$(realpath $source)";
|
||||
linkSource=${linkSource%/}; # cut off trailing "/"
|
||||
shift;
|
||||
dest=$1;
|
||||
shift;
|
||||
rsync $DEFAULT_RSYNC --one-file-system --link-dest=$linkSource $source $dest $*;
|
||||
}
|
||||
|
||||
|
||||
updateSystem() {
|
||||
@ -91,7 +77,7 @@ execute() {
|
||||
# executes command and notifies upon success or failure
|
||||
executeAndNotify () {
|
||||
dir="$(pwd)";
|
||||
dir=${dir##*/}; # cut off previous path (/path/to/foo.txt -> foo.txt)
|
||||
dir=${dir##*/};
|
||||
if [[ -n "$2" ]]; then
|
||||
winLog=$2;
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user