File: generate-fs.sh

package info (click to toggle)
forensics-samples 1.1.4-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 212,044 kB
  • sloc: sh: 40; makefile: 4
file content (9 lines) | stat: -rwxr-xr-x 143 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
#!/bin/bash

[ "$1" ] || { echo "Usage: generate-fs.sh <mount point>"; exit 1; }

cp -a original-files/* /mnt
sync
rm -rf /mnt/*2
sync
ls /mnt