15 lines
357 B
Bash
Executable File
15 lines
357 B
Bash
Executable File
#!/usr/bin/env sh
|
|
|
|
# Create some files and directories in the current folder
|
|
echo 'hello' > hello.txt
|
|
mkdir subdir
|
|
echo 'world' > subdir/world.txt
|
|
|
|
# Add some symlinks (which we should dereference properly when archiving)
|
|
ln -s subdir subdir-link
|
|
ln -s hello.txt bonjour.txt
|
|
|
|
# Create some hidden files
|
|
echo 'foo' > .hidden
|
|
echo 'bar' > subdir/.hidden_also
|