From 999ebad51184a5ac10890ec7818123ee57e63e3d Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Fri, 4 Oct 2013 16:11:09 +0900 Subject: [PATCH] use datenum to tb path --- bashrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bashrc b/bashrc index c02adf2..013ad55 100755 --- a/bashrc +++ b/bashrc @@ -688,7 +688,8 @@ di(){ } tb(){ - local tb="$HOME/.my/tb" + local datenum=`date +%Y%m%d-%H%M%S` + local tb="$HOME/.my/tb/$datenum" mkdir -p "$tb" for file in "$@" do