davidferguson / pibakery-blocks

All the blocks for the Pi Bakery program
GNU General Public License v3.0
242 stars 86 forks source link

Added new 'copyfile' block to copy/move files and directories #70

Open DavidJBianco opened 7 years ago

DavidJBianco commented 7 years ago

This creates a new "copyfile" block under the "Other" category. It allows you to either copy or move files/directories around on the local filesystem. In general, this block exhibits the same behavior that Unix cp and mv commands do with respect to having directories in the source and/or destination fields (e.g., moving a file into a directory works as expected, as does copying a directory into a directory).

DavidJBianco commented 6 years ago

Reviewing this, I realize that I forgot to add that it also supplies a "editkernelcmdline" block that allows editing the the parameters the kernel boots with.