bsd man page for rename

Query: rename

OS: bsd

Section: 3f

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

RENAME(3F)																RENAME(3F)

NAME
rename - rename a file
SYNOPSIS
integer function rename (from, to) character*(*) from, to
DESCRIPTION
From must be the pathname of an existing file. To will become the new pathname for the file. If to exists, then both from and to must be the same type of file, and must reside on the same filesystem. If to exists, it will be removed first. The returned value will be 0 if successful; a system error code otherwise.
FILES
/usr/lib/libU77.a
SEE ALSO
rename(2), perror(3F)
BUGS
Pathnames can be no longer than MAXPATHLEN as defined in <sys/param.h>. 4.2 Berkeley Distribution May 15, 1985 RENAME(3F)
Related Man Pages
rename(2) - osx
prename(1) - debian
rename(2) - opendarwin
rename(2) - netbsd
rename(3) - php
Similar Topics in the Unix Linux Community
Easy way to mass rename files?
Renamed lib directory by mistake
How best to remove certain characters from filenames and folders recursively
Rename file using sed or awk
Use portion of file name as new file name