Skip to content

Instantly share code, notes, and snippets.

@dlebauer
Created January 26, 2015 22:25
Show Gist options
  • Select an option

  • Save dlebauer/494ffed159cd8ef4600a to your computer and use it in GitHub Desktop.

Select an option

Save dlebauer/494ffed159cd8ef4600a to your computer and use it in GitHub Desktop.
Moving paperclip files, updating dbfiles PecanProject/bety#183
cp /usr/local/ebi/paperclip/files/b49/762/333/b49762333c0fb3d501f024b8df7f1ee6 /home/share/data/dbfiles/US-UMB.clim
cp /usr/local/ebi/paperclip/files/85c/697/5aa/85c6975aaf49b05f8c333847eabf60ca /home/share/data/dbfiles/US-Ho1.clim
cp /usr/local/ebi/paperclip/files/643/91e/db6/64391edb64c876482d8ea8017bca6994 /home/share/data/dbfiles/US-MMS.clim
cp /usr/local/ebi/paperclip/files/439/286/b54/439286b548f68228614a160e40308fd5 /home/share/data/dbfiles/US-NR1.clim
cp /usr/local/ebi/paperclip/files/96b/c3d/cd3/96bc3dcd34062b83959c073b9e674c80 /home/share/data/dbfiles/wcr.clim
cp /usr/local/ebi/paperclip/files/bcb/be0/4a7/bcbbe04a792b6edcbe030fa8da0c800d /home/share/data/dbfiles/syl.clim
cp /usr/local/ebi/paperclip/files/0a4/4dd/9e0/0a44dd9e06e9d4feba786a4cbc34f42c /home/share/data/dbfiles/yjp.clim
cp /usr/local/ebi/paperclip/files/034/c67/f10/034c67f10466a7424fa1c9aab46bf25e /home/share/data/dbfiles/lcr.clim
cp /usr/local/ebi/paperclip/files/788/85e/cec/78885ecec7a3a7134592c780607f6715 /home/share/data/dbfiles/lef.clim
cp /usr/local/ebi/paperclip/files/8fa/7d7/d70/8fa7d7d701e0db238d6cb5e53ab0b211 /home/share/data/dbfiles/ihw.clim
cp /usr/local/ebi/paperclip/files/746/110/652/746110652027f7d7e2c5bb812ee8954d /home/share/data/dbfiles/yhw.clim
cp /usr/local/ebi/paperclip/files/00d/d2c/17b/00dd2c17bc3c888b84d08374b005f572 /home/share/data/dbfiles/mhw.clim
cp /usr/local/ebi/paperclip/files/ad3/4cb/ba2/ad34cbba24c8b326605600d192a996f4 /home/share/data/dbfiles/pb1.clim
cp /usr/local/ebi/paperclip/files/e71/b55/21b/e71b5521bf867b1732a597327fbaf1b5 /home/share/data/dbfiles/rpc.clim
cp /usr/local/ebi/paperclip/files/649/396/64a/64939664acb075e52afaf4102464308b /home/share/data/dbfiles/irp.clim
cp /usr/local/ebi/paperclip/files/5f8/7f6/4aa/5f87f64aa4bf0070feaef8863f68084e /home/share/data/dbfiles/mjp.clim
cp /usr/local/ebi/paperclip/files/c95/16c/cf2/c9516ccf298f6a4dd5e4920fbb40dc8e /home/share/data/dbfiles/sfk.clim
cp /usr/local/ebi/paperclip/files/39d/467/080/39d4670802b9eaacc7e5e2e0db894714 /home/share/data/dbfiles/wfl.clim
cp /usr/local/ebi/paperclip/files/873/889/3b4/8738893b4316b11a59e50f99c04d8c2b /home/share/data/dbfiles/mrp.clim
cp /usr/local/ebi/paperclip/files/1da/69c/7a2/1da69c7a24bf7798f36213bf21778020 /home/share/data/dbfiles/pavi_yield.csv
cp /usr/local/ebi/paperclip/files/bad/f7b/8b1/badf7b8b1cddb16127f03ae55845d3cc /home/share/data/dbfiles/corn_aet.csv
cp /usr/local/ebi/paperclip/files/644/e00/29e/644e0029e45b2d959eb8c8eb150d0541 /home/share/data/dbfiles/pavi_aet.csv
cp /usr/local/ebi/paperclip/files/b72/ddb/70a/b72ddb70aca14782641efb417b6d42d3 /home/share/data/dbfiles/miscanthusyield.csv
cp /usr/local/ebi/paperclip/files/006/eba/fda/006ebafda236f1cfb7866d43d57364ad /home/share/data/dbfiles/poplar_yield.csv
cp /usr/local/ebi/paperclip/files/539/ea6/5cb/539ea65cb78476ea369cbdf245ea81e2 /home/share/data/dbfiles/sugarcane_yield.csv
update dbfiles set file_path = '/home/share/data/dbfiles/', file_name = 'US-UMB.clim', updated_at = now() where file_path = '/usr/local/ebi/paperclip/files/b49/762/333/b49762333c0fb3d501f024b8df7f1ee6';
update dbfiles set file_path = '/home/share/data/dbfiles/', file_name = 'US-Ho1.clim', updated_at = now() where file_path = '/usr/local/ebi/paperclip/files/85c/697/5aa/85c6975aaf49b05f8c333847eabf60ca';
update dbfiles set file_path = '/home/share/data/dbfiles/', file_name = 'US-MMS.clim', updated_at = now() where file_path = '/usr/local/ebi/paperclip/files/643/91e/db6/64391edb64c876482d8ea8017bca6994';
update dbfiles set file_path = '/home/share/data/dbfiles/', file_name = 'US-NR1.clim', updated_at = now() where file_path = '/usr/local/ebi/paperclip/files/439/286/b54/439286b548f68228614a160e40308fd5';
update dbfiles set file_path = '/home/share/data/dbfiles/', file_name = 'wcr.clim', updated_at = now() where file_path = '/usr/local/ebi/paperclip/files/96b/c3d/cd3/96bc3dcd34062b83959c073b9e674c80';
update dbfiles set file_path = '/home/share/data/dbfiles/', file_name = 'syl.clim', updated_at = now() where file_path = '/usr/local/ebi/paperclip/files/bcb/be0/4a7/bcbbe04a792b6edcbe030fa8da0c800d';
update dbfiles set file_path = '/home/share/data/dbfiles/', file_name = 'yjp.clim', updated_at = now() where file_path = '/usr/local/ebi/paperclip/files/0a4/4dd/9e0/0a44dd9e06e9d4feba786a4cbc34f42c';
update dbfiles set file_path = '/home/share/data/dbfiles/', file_name = 'lcr.clim', updated_at = now() where file_path = '/usr/local/ebi/paperclip/files/034/c67/f10/034c67f10466a7424fa1c9aab46bf25e';
update dbfiles set file_path = '/home/share/data/dbfiles/', file_name = 'lef.clim', updated_at = now() where file_path = '/usr/local/ebi/paperclip/files/788/85e/cec/78885ecec7a3a7134592c780607f6715';
update dbfiles set file_path = '/home/share/data/dbfiles/', file_name = 'ihw.clim', updated_at = now() where file_path = '/usr/local/ebi/paperclip/files/8fa/7d7/d70/8fa7d7d701e0db238d6cb5e53ab0b211';
update dbfiles set file_path = '/home/share/data/dbfiles/', file_name = 'yhw.clim', updated_at = now() where file_path = '/usr/local/ebi/paperclip/files/746/110/652/746110652027f7d7e2c5bb812ee8954d';
update dbfiles set file_path = '/home/share/data/dbfiles/', file_name = 'mhw.clim', updated_at = now() where file_path = '/usr/local/ebi/paperclip/files/00d/d2c/17b/00dd2c17bc3c888b84d08374b005f572';
update dbfiles set file_path = '/home/share/data/dbfiles/', file_name = 'pb1.clim', updated_at = now() where file_path = '/usr/local/ebi/paperclip/files/ad3/4cb/ba2/ad34cbba24c8b326605600d192a996f4';
update dbfiles set file_path = '/home/share/data/dbfiles/', file_name = 'rpc.clim', updated_at = now() where file_path = '/usr/local/ebi/paperclip/files/e71/b55/21b/e71b5521bf867b1732a597327fbaf1b5';
update dbfiles set file_path = '/home/share/data/dbfiles/', file_name = 'irp.clim', updated_at = now() where file_path = '/usr/local/ebi/paperclip/files/649/396/64a/64939664acb075e52afaf4102464308b';
update dbfiles set file_path = '/home/share/data/dbfiles/', file_name = 'mjp.clim', updated_at = now() where file_path = '/usr/local/ebi/paperclip/files/5f8/7f6/4aa/5f87f64aa4bf0070feaef8863f68084e';
update dbfiles set file_path = '/home/share/data/dbfiles/', file_name = 'sfk.clim', updated_at = now() where file_path = '/usr/local/ebi/paperclip/files/c95/16c/cf2/c9516ccf298f6a4dd5e4920fbb40dc8e';
update dbfiles set file_path = '/home/share/data/dbfiles/', file_name = 'wfl.clim', updated_at = now() where file_path = '/usr/local/ebi/paperclip/files/39d/467/080/39d4670802b9eaacc7e5e2e0db894714';
update dbfiles set file_path = '/home/share/data/dbfiles/', file_name = 'mrp.clim', updated_at = now() where file_path = '/usr/local/ebi/paperclip/files/873/889/3b4/8738893b4316b11a59e50f99c04d8c2b';
update dbfiles set file_path = '/home/share/data/dbfiles/', file_name = 'pavi_yield.csv', updated_at = now() where file_path = '/usr/local/ebi/paperclip/files/1da/69c/7a2/1da69c7a24bf7798f36213bf21778020';
update dbfiles set file_path = '/home/share/data/dbfiles/', file_name = 'corn_aet.csv', updated_at = now() where file_path = '/usr/local/ebi/paperclip/files/bad/f7b/8b1/badf7b8b1cddb16127f03ae55845d3cc';
update dbfiles set file_path = '/home/share/data/dbfiles/', file_name = 'pavi_aet.csv', updated_at = now() where file_path = '/usr/local/ebi/paperclip/files/644/e00/29e/644e0029e45b2d959eb8c8eb150d0541';
update dbfiles set file_path = '/home/share/data/dbfiles/', file_name = 'miscanthusyield.csv', updated_at = now() where file_path = '/usr/local/ebi/paperclip/files/b72/ddb/70a/b72ddb70aca14782641efb417b6d42d3';
update dbfiles set file_path = '/home/share/data/dbfiles/', file_name = 'poplar_yield.csv', updated_at = now() where file_path = '/usr/local/ebi/paperclip/files/006/eba/fda/006ebafda236f1cfb7866d43d57364ad';
update dbfiles set file_path = '/home/share/data/dbfiles/', file_name = 'sugarcane_yield.csv', updated_at = now() where file_path = '/usr/local/ebi/paperclip/files/539/ea6/5cb/539ea65cb78476ea369cbdf245ea81e2';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment