View difference between Paste ID: czpezVZ8 and XMEEnKpH
SHOW: | | - or go back to the newest paste.
1-
for i in {1..10}; do printf "file '%s'\n" *.avi >> mylist.txt; done
1+
# How it is looping and concatenating now
2
file '/path/to/file1'
3
file '/path/to/file2'
4
file '/path/to/file3'
5
file '/path/to/file1'
6
file '/path/to/file2'
7
file '/path/to/file3'
8
file '/path/to/file1'
9
file '/path/to/file2'
10
file '/path/to/file3'
11
12
#Instead loop and concatentate this:
13
file '/path/to/file1'
14
file '/path/to/file1'
15
file '/path/to/file1'
16
file '/path/to/file2'
17
file '/path/to/file2'
18
file '/path/to/file2'
19
file '/path/to/file3'
20
file '/path/to/file3'
21
file '/path/to/file3'