chgroup -R <groupname> <file/foldername>
...this is a log of code snippets and useful tips I wrote/found. Should you find any mistakes or have any useful suggestions, please do not hesitate to write to me.
Monday, March 24, 2014
Sunday, March 16, 2014
Some useful commands.. to be edited later..
root@master:/home/cloudcv/detection_executable/PascalImagenetDetector/distrib# cat job.x
output_dir=$1
model_name=$2
./run_PascalImagenetBboxPredictor.sh /usr/local/MATLAB/MATLAB_Compiler_Runtime/v81/ "/home/cloudcv/detection_executable/input_images/im_folder_xx/" "/home/cloudcv/detection_executable/model/" "$output_dir" "0" "$model_name"
for i in {1..50}; do sed 's/xx/'$i'/g' job.x > job.$i; done
output_dir=$1
model_name=$2
./run_PascalImagenetBboxPredictor.sh /usr/local/MATLAB/MATLAB_Compiler_Runtime/v81/ "/home/cloudcv/detection_executable/input_images/im_folder_xx/" "/home/cloudcv/detection_executable/model/" "$output_dir" "0" "$model_name"
for i in {1..50}; do sed 's/xx/'$i'/g' job.x > job.$i; done
Saturday, March 15, 2014
some printing formats..
for i in {0..10};do printf "%02d\n" $i; done
for i in {000..100};do echo $i; done
for i in {000..100};do echo $i; done
Wednesday, March 12, 2014
Subscribe to:
Posts (Atom)