Skip to content

Commit

Permalink
removing -c from docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick-Harvey committed Dec 19, 2018
1 parent c9ce79b commit e8ff76c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions doc/cookbook/splitting.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ If we just put this into Pachyderm as a single file, we could not subsequently p
The `put-file` API includes an option for splitting up the file into separate datums automatically. You can do this with the `pachctl` CLI tool via the `--split` flag on `put-file`. For example, to automatically split the `user_data.csv` file up into separate datums for each line, you could execute the following:

```
$ pachctl put-file users master -c -f user_data.csv --split line --target-file-datums 1
$ pachctl put-file users master -f user_data.csv --split line --target-file-datums 1
```

The `--split line` argument specifies that Pachyderm should split this file on lines, and the `--target-file-datums 1` arguments specifies that each resulting file should include at most one "datum" (or one line). Note, that Pachyderm will still show the `user_data.csv` entity to you as one entity in the repo:
Expand Down Expand Up @@ -56,15 +56,15 @@ This is, of course, just one example. Right now, Pachyderm supports this type o
```
# Split a json file on json blobs, putting
# each json blob into it's own file.
$ pachctl put-file users master -c -f user_data.json --split json --target-file-datums 1
$ pachctl put-file users master -f user_data.json --split json --target-file-datums 1
# Split a json file on json blobs, putting
# 3 json blobs into each split file.
$ pachctl put-file users master -c -f user_data.json --split json --target-file-datums 3
$ pachctl put-file users master -f user_data.json --split json --target-file-datums 3
# Split a file on lines, putting each 100
# bytes chunk into the split files.
$ pachctl put-file users master -c -f user_data.txt --split line --target-file-bytes 100
$ pachctl put-file users master -f user_data.txt --split line --target-file-bytes 100
```

## Specifying Header/Footer
Expand Down
2 changes: 1 addition & 1 deletion doc/fundamentals/getting_data_into_pachyderm.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ $ pachctl put-file <repo> <branch> -i <file containing list of files, paths, or
Pipe data from stdin into a data repository:

```sh
$ echo "data" | pachctl put-file <repo> <branch> </path/to/file> -c
$ echo "data" | pachctl put-file <repo> <branch> -f </path/to/file>
```

Add an entire directory or all of the contents at a particular URL (either
Expand Down
2 changes: 1 addition & 1 deletion doc/pachctl/pachctl_put-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Put-file supports a number of ways to insert data into pfs:
$ echo "data" | pachctl put-file repo branch path

# Put data from stdin as repo/branch/path and start / finish a new commit on the branch.
$ echo "data" | pachctl put-file -c repo branch path
$ echo "data" | pachctl put-file repo branch path

# Put a file from the local filesystem as repo/branch/path:
$ pachctl put-file repo branch path -f file
Expand Down

0 comments on commit e8ff76c

Please sign in to comment.