Skip to content

Latest commit

 

History

History
88 lines (62 loc) · 1.37 KB

File metadata and controls

88 lines (62 loc) · 1.37 KB

Commands

create

Create new files/directories

$ hey create dir/file.txt
$ hey create deep/dir/that/doesnt/exist
$ hey create file.txt other-file.txt in dir
$ hey create file.txt in dir/that/doesnt/exist

delete

Move files/directories to trash

$ hey delete 'dir/*.txt'
$ hey delete '*.txt' from dir
$ hey delete '*.txt' in dir

destroy

Alias for remove

find

Alias for list

list

$ hey list '*.txt'
$ hey list '*.txt' in some/dir
$ hey list '*.txt' from some/dir

make

Alias for create

move

Move files/directories. Use --flat to flatten directory structure

$ hey move 'some/dir/*' into .
$ hey move '*.txt' into some/dir
$ hey move '*.txt' to some/dir
$ hey move '*.txt' from dir into other/dir
$ hey move '*.txt' in dir to other/dir
$ hey move '**/*.png' into assets/img --flat

remove

Remove files/directories (does not move to trash; use delete or trash for that)

$ hey remove 'dir/*.txt'
$ hey remove '*.txt' from dir
$ hey remove '*.txt' in dir

trash

Alias for delete

where

Print current working directory

$ hey where am i