Browse Source

some xargs-alias fiddling

(Also IIRC this dir shouldn't be called xargs-alias.  Whatever.)
master
Brennen Bearnes 1 year ago
parent
commit
9699363e45
1 changed files with 5 additions and 6 deletions
  1. +5
    -6
      home/fragments/xargs-alias/lst.sh

+ 5
- 6
home/fragments/xargs-alias/lst.sh View File

@ -1,6 +1,5 @@
function lst {
echo -n '' > files.lftp
sed "s/'/\\\'/" example_selection | while read -r fname; do
printf "put '%s'\n" "$fname" >> files.lftp
done
}
#!/usr/bin/env bash
echo -n '' > files.lftp
sed "s/'/\\\'/" example_selection | while read -r fname; do
printf "put '%s'\n" "$fname" >> files.lftp
done

Loading…
Cancel
Save