Skip to content

Commit

Permalink
Script to download files automatically in UNIX
Browse files Browse the repository at this point in the history
  • Loading branch information
iacopomasi committed Sep 17, 2014
1 parent 6ee301a commit 4743d46
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions getFiles.m
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
if isunix
if ~exist('data/VIPeR_split.mat','file')
[status,result] = system('wget -c http://www.micc.unifi.it/lisanti/downloads/kccareid_data.zip ','-echo');
system('unzip kccareid_data.zip');
disp('>Splits and Descriptors ready.')
end
if ~exist('kcca_package','dir')
system('rm kccareid_data.zip');
system(' wget -c http://www.davidroihardoon.com/Professional/Code_files/kcca_package.tar.gz');
system('tar -xvf kcca_package.tar.gz');
system('rm kcca_package.tar.gz');
disp('>KCCA package ready.')
end
else
disp('Sorry it seems that you are not on UNIX so you need to download files manually.')
end

0 comments on commit 4743d46

Please sign in to comment.