This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use std::{fmt, mem}; | |
use std::convert::TryFrom; | |
use std::io::{BufRead, BufReader, Read, Seek}; | |
use std::path::{Path, PathBuf}; | |
use crate::deps::structopt::StructOpt; | |
use crate::deps::derive_more; | |
use crate::deps::serde; | |
use crate::deps::thiserror; | |
use crate::deps::log::warn; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env zsh | |
function exportDefaults { | |
local outdir="$HOME/defaults" | |
local outdirApple="$outdir/apple" | |
local outdirUser="$outdir/user" | |
local outdirGlobal="$outdir/global" | |
local filesdone=0 | |
local filecount=0 | |
local filestotal=0 |