The words Under construction in black text on a yellow background with diagonal black stipes surrounding it
I'm in the process of moving my site. It's still a work in progress. Please excuse the mess and broken links.

Move Files That Match A find Pattern

TODO: Pull subtitle into page object

Example:

code_start_default_section code_end_default_section

Searches the directory:

/Users/alans/Dropbox/grimoire/

Finds files who's name starts with:

some-name-

Moves the files into:

/Users/alans/my-files/_archive/

Debugging Stuff

I'm moving stuff around right now. All this below is helping me figure out where to put stuff

        -- title

Move Files That Match A find Pattern

-- p

Example:

-- code/

find /Users/alans/my-files/ -maxdepth 1 -name 'some-name-*' -print0 | xargs -0 -I{} mv {} /Users/alans/my-files/_archive/

-- /code

-- p

Searches the directory:

-- p

/Users/alans/Dropbox/grimoire/

-- p

Finds files who's name starts with:

-- p

some-name-

-- p

Moves the files into:

-- p

/Users/alans/my-files/_archive/


-- categories
-- Shell

-- metadata
-- date: 2021-11-07 15:21:14
-- id: 20eohxm2
-- status: published
-- type: post
-- SCRUBBED_NEO: false
-- site: aws