Search

'전체 글'에 해당되는 글 92건

  1. 2012.05.02 특정 용량 이상 파일 찾기 및 삭제
  2. 2012.05.02 IIS 에서 FLV 파일 인식을 못할때..
  3. 2012.05.01 엑셀 저장 해더

특정 용량 이상 파일 찾기 및 삭제

Server/Linux 2012. 5. 2. 14:57 Posted by 퓨어레드

find [디렉토리] -size +10M -exec ls -lh {} \;

10M 이상 파일을 찾는다.

Ex) find ./ -size +10M -exec ls -lh {} \;

-----------------------------

10M 이상 파일을 삭제한다.

find ./ -size +10M -exec rm -f {} \;

------------------------------

파일 용량별 소팅

ls -lS

LS 관련 자세한 명령어 : http://blog.naver.com/heyboogi?Redirect=Log&logNo=50028112325

 

IIS 에서 FLV 파일 인식을 못할때..

Server/Windows 2012. 5. 2. 14:55 Posted by 퓨어레드
IIS 서버 설정 , : .flv 파일 인식 안될때, iis의 mime type 추가

On the Windows 2003 server, open the Internet Information Services Manager.
Expand the Local Computer Server.
Right-click the local computer server and select Properties.
Select the MIME Types tab.
Click New and enter the following information:
Associated Extension box: .FLV
MIME Type box:flv-application/octet-stream
Click OK.
Restart the World Wide Web Publishing service.

출처 : Tong - journae님의 Windows 통

 

엑셀 저장 해더

PHP/기본 2012. 5. 1. 21:26 Posted by 퓨어레드

header( "Content-type: application/vnd.ms-excel" );
header( "Content-Disposition: attachment; filename=$file.xls" );
header( "Content-Description: PHP4 Generated Data" );

'PHP > 기본' 카테고리의 다른 글

UTF-8 charset 해더  (0) 2012.04.18