File: filelist.sh

package info (click to toggle)
gnome-commander 1.18.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 25,796 kB
  • sloc: cpp: 44,542; xml: 3,929; lex: 600; sh: 80; makefile: 13
file content (16 lines) | stat: -rwxr-xr-x 248 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
#name: File list
#term: true

# Written by puux <puuxmine@gmail.com> 2016
# Part of gnome-commander script plug-in system

echo "Enter file name:"
read list

for n in "$@"
do
  echo "$n" >> "$list"
  echo "echo \"$n\" >> \"$list\""
done