I have a file present in the user home path in the IFS and I want to copy the IFS file from one directory to the another directory. Is there any command to copy the IFS file from one directory to another directory?
What are the steps involved in copying an IFS file from one directory to another directory?
You can copy the ifs file to another directory on IBM i (formerly AS400) by executing the following command. Use the CPY command to copy the IFS file to another directory.
CPY OBJ(frompath/filename) TODIR(topath) REPLACE(*YES)
where the
frompath
can be let’s say “/home/developer/” and the filename can be “file1.zip” andtopath
can be let’s say “/developer/files/zipfiles”.