파일,file

aka computer_file
aka data_file? - No. (Sub에 추가함)

Sub: (담은 내용에 따라)
data_file =,data_file . data_file
{
데이터파일 (wpko)
일반적으로 실행가능한 것은 data file로 분류하지 않음. executable_code 도 data 이긴 하지만, 관습상? (wpko)
WpKo:데이터_파일 = https://ko.wikipedia.org/wiki/데이터_파일
}
executable_file
text_file =,text_file =,text_file . text_file - 텍스트,text, plain_text ?
{
https://en.wikipedia.org/wiki/Text_file
}
document_file
image_file - 중의적
archive_file =,archive_file . archive_file
{
MKL archive_file_format = archive_format
WpEn:Archive_file = https://en.wikipedia.org/wiki/Archive_file
corresp ko interwiki(?)
WpKo:압축_파일 = https://ko.wikipedia.org/wiki/압축_파일
}
...

(이상 파일 형식에 따라)





Sub:
file_name filename WtEn:filename ?? Srch:filename
{
파일이름
파일명

이름,name
한 directory 내에서의 식별자,identifier?

extension뿐만 아니라 filename 자체도 convention으로 굳어진 filenames가 많다.
rc_file =,rc_file . rc_file ??
rc file ?
.뭐뭐rc (Unix convention; setting / configuration file name for specific program, usually resides in user's home directory(~). RC 어원이 run command였나 - Yes, Jargon File에 의하면 'run commands'. [https]reddit WpEn:RUNCOM) (ex. .bashrc .vimrc ... p MySettingConfigDotFiles Ggl:dotfile)
cmp: -tab. 표,table?action=highlight&value=-tab
https://wiki.tcl-lang.org/page/The RC File
mentions: .tclshrc, .wishrc
.htaccess - web_server
FILE_ID.DIZ
....

(대개의 os/fs에서) filename에 금지된 characters
os/fs에 따라 다른데 일단 path separator인
/

(대개의 os/fs에서) 금지된 filenames
.
..
DOS/Windows: NUL CON ... Win 9x에서 con을 가지고 명령 한 줄로 다운시키기가 가능했었는데 뭐였지 ... Ggl:windows 95 con bug 하면 나온다. "C:\Con\Con"을 열려고 시도하면 crash.

extension: ''filename''' suffix convention? CHK
extension - filename_extension / file_name_extension / file_extension (wpen)
{
filename extension

(파일이름|파일명|파일) //optional
확장자
확장명
익스텐션
...?

분류 역할. 근데 이름에만 영향을 끼치므로 파일 내용 앞부분(header ?)도 보아야 제대로 file type detection을 할 수 있다.

//wpen 대충 read, at 2023-08-06
suffix? 항상? - Yes. "A filename extension, file name extension or file extension is a suffix to the name of a computer file"(we)
indicates file_type. .... and file_format? // indication indicator
항상 period(full_stop = dot_character)을 쓰는 건 아님.
classic_Mac_OSfile_format을 indicate하기 위해 type_code { WpEn:Type_code }를 썼으며, 추가적으로 file icon을 doubleclick 시 어떤 application이 launch될 지를 결정하기 위해 creator_code{ WpEn:Creator_code = https://en.wikipedia.org/wiki/Creator_code }를 지정했다. 하지만 macOS는 거기에 추가적으로 filename_suffixes도 쓴다. (Unix-like NeXTSTEP에서 derived.)
metadata의 일종이다. // filename, file's timestamp도 마찬가지.

Cmp: content_type =,content_type . content_type
{
media_type과 같다. via WpKo:미디어_타입
content+type
}

Cmp: media_type = MIME_type =,media_type .
{
//wpko
WpKo:미디어_타입 = https://ko.wikipedia.org/wiki/미디어_타입
"미디어 타입(media type), MIME 타입(MIME type), 콘텐츠 타입(content type)" ?

//wpen
WpEn:Media_type = https://en.wikipedia.org/wiki/Media_type
"(Redirected from MIME type)" (wpen redirect)
"A media type (formerly known as a MIME type)
is a two-part identifier for file formats and format contents transmitted on the Internet." (wpen)
즉 두 부분으로 된 식별자,identifier for file_format and format_contents (?)
rel. MIME (Multipurpose Internet Mail Extensions) specification {
Multipurpose Internet Mail Extensions (MIME)
MKL
문자인코딩,character_encoding
...
WpKo:MIME = https://ko.wikipedia.org/wiki/MIME
WpEn:MIME = https://en.wikipedia.org/wiki/MIME



Up: specification > Internet_Standard
}// MIME


rel.
FourCC / OSType / ResType - classic_Mac_OS { classic Mac OS }에서 유래.
{
WpKo:FourCC = https://ko.wikipedia.org/wiki/FourCC
WpSp:FourCC = https://simple.wikipedia.org/wiki/FourCC
WpEn:FourCC = https://en.wikipedia.org/wiki/FourCC
"A FourCC ("four-character code") is a sequence of four bytes (typically ASCII) used to uniquely identify data_formats. It originated from the OSType or ResType metadata system used in classic_Mac_OS ..."
}




}// filename extension


file_descriptor =,file_descriptor =,file_descriptor . file_descriptor Srch:file_descriptor
{
파일서술자 파일디스크립터
파일 서술자, 파일 디스크립터, file descriptor, FD


Up: 파일,file descriptor Srch:descriptor
}



file_manager
AKA file_browser (we)

파일,file폴더,folder에 대한 user_interface를 제공하는 computer_program.
WpEn:File_manager = https://en.wikipedia.org/wiki/File_manager

directory 내에는 파일이나 디렉토리가 있을 수 있다.
{
디렉토리
디렉터리
폴더,folder - syn?


path : 디렉토리(들)?
pathname : 디렉토리(들)+파일명?
relative_pathname
absolute_pathname

path의 번역은?
경로,path는 수학/그래프이론 쪽의 pagename,
패스,path는 filesystem 쪽의 pagename 으로 할까?

hierarchy:
디스크(or storage medium?) 위에 파일시스템,filesystem 그 위에 파일.

유닉스,Unix 파일(Unix_file)에 대한 권한은 퍼미션,permission을 참조.
// Sub: file_permission ? ...보다는 directory 등도 있으니 filesystem_permission ? { WpKo:파일_시스템_권한 = https://ko.wikipedia.org/wiki/파일_시스템_권한 WpEn:File-system_permissions = https://en.wikipedia.org/wiki/File-system_permissions }
속성,attribute이 여러 가지 있음. TBW

파일의 종류
* 보통 파일
* 디렉토리 ??
* 장치 파일 device_file
* 소켓 socket
* 심볼릭 링크 symbolic_link
etc.


file_type
파일타입
파일형
...
https://foldoc.org/file type

실행 파일 executable_file ?
데이터 파일 (자료 파일) data_file
소스 파일 - source_file { 내용이 source_code ? }
스크립트 파일 - script_file ? rel. 스크립트,script
배치 파일 batch_file
장치파일,device_file - 장치,device ... curr at 리눅스,Linux ... 유닉스,Unix계열, Plan_9 등에서 특히 잘 쓰는

텍스트파일,text_file =텍스트파일,text_file =,text_file 텍스트파일 text_file
{
rel.
text_processing { p TextProcessing Text+Processing}
plain_text
text_editor { https://foldoc.org/text editor text+editor}
flat_file { rel. flat_file_database .... https://foldoc.org/flat file flat+file}


binary_file =,binary_file =,binary_file . binary_file
{
바이너리 파일 (이진 파일)

rel. BLOB(binary_large_object) https://foldoc.org/binary large object .... https://foldoc.org/binary file }
오브젝트파일,object_file =오브젝트파일,object_file =,object_file 오브젝트파일 object_file
{
Sub:
relocatable_object_file
executable_object_file



... 그리고 file_type 에 따라 file_format 이 있다.
파일형식,file_format =파일형식,file_format =,file_format 파일형식 file_format
{
파일 형식, 파일 포맷 (wpko)



image_file_format
{
이미지,image
Disambig: disk_image
WpKo:이미지_파일_형식 = https://ko.wikipedia.org/wiki/이미지_파일_형식
}
_file_format
_file_format
_file_format
_file_format
_file_format
_file_format
...
container_file_format
{
AKA container_format // wpen pagename.
AKA digital_container_format // wpen redirect.
AKA wrapper (informally), metafile (wpen 시작부분) wrapper_format (wpko)

rel
archive_file_format / archive_format
직렬화,serialization

Sub:
tar ?
zip/ ... // ALSOIN compression file format.
multimedia_container_format
{
ex. "AVI, MP4, FLV, RealMedia, or Matroska."[1]
Sub:
AVI { WpKo:오디오_비디오_인터리브 = https://ko.wikipedia.org/wiki/오디오_비디오_인터리브
MP4
Matroska
ASF { for streaming_medium(pl. streaming_media) ? or media_streaming = medium_streaming ? 스트리밍,streaming ... - Yes. "...container format, especially meant for WpEn:Streaming_media ."(wpen) WpKo:고급_시스템_포맷 = https://ko.wikipedia.org/wiki/고급_시스템_포맷 WpEn:Advanced_Systems_Format = https://en.wikipedia.org/wiki/Advanced_Systems_Format }...
}
Matroska
{
마트료시카
마트료쉬카
...
WpKo:Matroska = https://ko.wikipedia.org/wiki/Matroska
WpEn:Matroska = https://en.wikipedia.org/wiki/Matroska
}
Interchange_File_Format IFF { Interchange File Format (IFF) EA와 Commodore가 협력해 개발하여 1985년 소개. 표준 확장자 없음. WpEn:Interchange_File_Format = https://en.wikipedia.org/wiki/Interchange_File_Format }
Resource_Interchange_File_Format RIFF { Resource Interchange File Format (RIFF)
//wpen
tagged_chuks 에 data를 보관하는 generic file_container_format.
AVI, WAV의 basis(정확히?)가 RIFF라고.


WpKo:디지털_컨테이너_포맷 = https://ko.wikipedia.org/wiki/디지털_컨테이너_포맷
"컨테이너 포맷(container_format) 또는 래퍼 포맷(wrapper_format).."
WpEn:Container_format = https://en.wikipedia.org/wiki/Container_format
"(Redirected from Digital container format)"


//wpko
저장하기 위해 정보,information파일,file인코딩,encoding하는 방식.
사유와 개방형으로 분류. - proprietary vs open 의 번역
proprietary_file_format
GIF(Graphics Interchange Format (GIF) WpEn:GIF = https://en.wikipedia.org/wiki/GIF )
open_file_format (opp. closed_file_format )
AKA open_format (wpsp)
PNG(Portable_Network_Graphics Portable Network Graphics (PNG) WpEn:PNG = https://en.wikipedia.org/wiki/PNG ) SVG gzip ODF(OpenDocument Format) HTML 등.
WpSp:Open_file_format = https://simple.wikipedia.org/wiki/Open_file_format
WpEn:Open_file_format = https://en.wikipedia.org/wiki/Open_file_format

WpKo:파일_형식
WpSimple:File_format
WpEn:File_format
Up: ,format
}

temporary_file =,temporary_file . temporary_file
temporary file
https://en.wikipedia.org/wiki/Temporary_file
"temporary file"


열린파일,open_file =열린파일,open_file =,open_file 열린파일 open_file ////이런건 del ok
{
aka opened file ?
pagename to opened_file ??


}

파일열기,file_opening =파일열기,file_opening =,file_opening 파일열기 file_opening
{



file_opening > file_opening_mode ?? file_handling_mode ?

파일 열기 모드(mode)

C, Python 등이 다른가?

fopen(filename, mode)
실패하면 NULL를 리턴.
끝나면 파일을 닫는 fclose { int fclose(FILE *fp) }

r 읽기 쓰기 추가 파없생
w TBW
a
r+
...TBW
파없생 = 파일이 없을 때 생성 여부

파일이 없을 때 에러???는 어떻게 표로 표현하지
에러,error

MKLINK
permission esp filesystem_permission

file_access =,file_access =,file_access . file_access
{
파일,file 접근,access
}

file_locking =,file_locking . file_locking // file_lock =,file_lock . file_lock ? WtEn:file_locking ? WtEn:file_lock ? jjjjjjjjmmmmmm
{
file_access 를 제한하는 것. 한 user나 process만이 한번에 [[접근,access]하도록.
race_condition 을 막는 효과가 있다.
deadlock 을 불러올 수 있다.


rel. lock_file - 그 용도(file_lock file_locking)로 쓰이는 파일,file? chk
}

end_of_file =,end_of_file .
end-of-file =,end-of-file . (we 표제어)
EOF =,EOF .

파일,file뿐 아니라 (유닉스,Unix에서 가상의 파일처럼 취급되는) 스트림,stream에서도 used?



PL에서 파일을 다룬다면(handling, working with)

opening
reading/writing
closing

순서.

file handling (operation) primitives?


크기,size
길이,length
ALSOIN p SizeLimitLengthLimit

관련: 디렉터리,directory 다루기... rel. file_system Sub: 파일들+하부디렉터리들 목록 얻기, 현재 작업중인 디렉터리(pwd) 바꾸기, ....