cp-parents 167 B

123456
  1. # FEATURE: CONFIG_FEATURE_CP_LONG_OPTIONS
  2. mkdir -p foo/bar/baz
  3. touch foo/bar/baz/file
  4. mkdir dir
  5. busybox cp --parents foo/bar/baz/file dir
  6. test -f dir/foo/bar/baz/file