summaryrefslogtreecommitdiff
path: root/yarns/9000-implements.yarn
diff options
context:
space:
mode:
Diffstat (limited to 'yarns/9000-implements.yarn')
-rw-r--r--yarns/9000-implements.yarn5
1 files changed, 5 insertions, 0 deletions
diff --git a/yarns/9000-implements.yarn b/yarns/9000-implements.yarn
index 4fb0fc00..b348a34f 100644
--- a/yarns/9000-implements.yarn
+++ b/yarns/9000-implements.yarn
@@ -104,6 +104,11 @@ We need to manipulate extended attributes.
mkdir -p $(dirname "$DATADIR/$MATCH_1")
setfattr --name="$MATCH_2" --value "$MATCH_3" "$DATADIR/$MATCH_1"
+Create a symlink.
+
+ IMPLEMENTS GIVEN a symlink (\S+) pointing at (\S+)
+ ln -s "$MATCH_2" "$DATADIR/$MATCH_1"
+
Sometimes we need to remove a file.
IMPLEMENTS WHEN user (\S+) removes file (\S+)