• Home
  • Programming
    • API
      • Google
    • Javascript
    • Php
    • Server
  • CMS
    • Magento
    • Yahoo! Store

Linux commands for deleting files

Saturday, 13 April 2019 19:42
Tim Ramsey
0 Comments
1
2
mkdir empty_dir (create an empty directory)
rsync -a --delete empty_sessions/ session/
1
find /directory -type f -name "sess_*" -delete
This entry was posted on Saturday, April 13th, 2019 at 7:42 pm and is filed under Programming, Server. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

Leave a Reply

Cancel Reply

You must be logged in to post a comment.

Categories

  • CMS
    • Magento
    • Shopify
    • Yahoo! Store
  • Programming
    • API
      • Google
    • Javascript
    • Php
    • Server
    • SVN
  • VOIP

Recent Posts

  • How to write to Google Sheet with API in PHP
  • How to Migrate FreePBX server to a new server
  • Unifi Controller Java CPU 100%
  • Update Unifi Controller on Linux
  • Code Signing Desktop App