Code:
[Desktop Action copy-with-stamp] Exec=cp-with-timestamp.sh %U Name=Add timestamp as suffix Icon=edit-copy [Desktop Entry] Actions=copy-with-stamp ServiceTypes=KonqPopupMenu/Plugin MimeType=all/all Type=Service X-KDE-Priority=TopLevel
Code:
#!/bin/bash cp "$@" "$@"-"$(date +%Y%m%d%H%M%S)"

Leave a comment: