Quantcast
Channel: Setup a cron job to archive a directory and all its sub-directories including hidden files using tar - Ask Ubuntu
Browsing all 3 articles
Browse latest View live

Answer by Jags for Setup a cron job to archive a directory and all its...

Posting my own answer as, though fliegendewurst's answer helped me somewhat, I wasn't able to complete the command to run a cron job. Comments from bac0n and steeldriver help me figure out the...

View Article



Answer by FliegendeWurst for Setup a cron job to archive a directory and all...

Use the -C option, like this: tar -zcC /home/username -f output.tgz .mozillaRead this answer.Use the -p option.I do not understand your question.

View Article

Setup a cron job to archive a directory and all its sub-directories including...

I'm trying to setup a cron job to archive/backup /home/username/.mozilla/ directory and all its sub-directories, including hidden files, using tar. I like to run the job at 12:01 AM every night.Here's...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images