Relative Content

Tag Archive for linuxbashshell

‘Rev’ and ‘Cut’ Commands ginving weird output

While working on a personal ETL (Extract-Transform-Load) project, where weather data from an open-source project (wttr.in) is downloaded and relevant data is extracted and formatted into record fields for a report.

Backup files to Cifs Share and locally

i need to mv files from a directory to a cifs share and wanted to do a copy locally first to still have the original files. right now we had the problem that if the cifs share is somehow down those files get moved into the void.
i thought after copying the files locally i could to a logrotate on these files to archive them (audiofiles) and get them removed after 60 days.