Kod: Markera allt
alias del='mv -t ~/.local/share/Trash/files --backup=t'
/Per
Kod: Markera allt
alias del='mv -t ~/.local/share/Trash/files --backup=t'
Kod: Markera allt
$ man mv
...
--backup[=CONTROL]
make a backup of each existing destination file
...
The backup suffix is `~', unless set with --suffix or SIM‐
PLE_BACKUP_SUFFIX. The version control method may be selected via the
--backup option or through the VERSION_CONTROL environment variable.
Here are the values:
none, off
never make backups (even if --backup is given)
numbered, t
make numbered backups
existing, nil
numbered if numbered backups exist, simple otherwise
simple, never
always make simple backups