Category: Linux

Mirror an FTP site to Linux

I needed to mirror an FTP site to linux, as preparation for of a migration. After looking for the most easy way to do this, I found ‘lftp’ on the linux side, and used that. sudo lftp -e “set ftp:ssl-allow no; mirror -c -e –parallel=3 employees/ /srv/ftp/employees/” -u jeroen someftp.actualadmins.com… Read more »

Replace text in multiple files

I needed to replace text in multiple files on an Ubuntu server. The text was “D:/FTPdownloads”, and would be changed to “srv/ftp” (migrating an FTP server from Windows to Linux). Also this had to be done in 100+ files in a bunch of directories. Quickest way I found to do… Read more »