mirror of
https://github.com/brunofontes/linuxShortcuts.git
synced 2024-11-28 00:01:25 +00:00
8 lines
155 B
Bash
8 lines
155 B
Bash
|
#! /bin/bash
|
||
|
filelist=""
|
||
|
for line in "$@"; do
|
||
|
filename=$(basename -- "$line")
|
||
|
filelist="$filelist$filename\n"
|
||
|
done
|
||
|
printf "$filelist" | xsel -b -i
|